summaryrefslogtreecommitdiff
path: root/community/audit/auditd.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/audit/auditd.service')
-rw-r--r--community/audit/auditd.service12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/audit/auditd.service b/community/audit/auditd.service
index 199b0dcbe..208b5c38e 100644
--- a/community/audit/auditd.service
+++ b/community/audit/auditd.service
@@ -1,12 +1,10 @@
[Unit]
-Description=Audit Daemon
+Description=Security Auditing Service
+After=syslog.target
[Service]
-ExecStartPre=/sbin/auditctl -R /etc/audit/audit.rules
-ExecStart=/sbin/auditd -n
-ExecStop=/bin/kill -15 $MAINPID
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=always
+ExecStart=/usr/sbin/auditd -n
+ExecStartPost=/usr/sbin/auditctl -R /etc/audit/audit.rules
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target \ No newline at end of file