summaryrefslogtreecommitdiff
path: root/community/audit/auditd.service
blob: 199b0dcbeef5070d393a27c0a78f717c6c0b0955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Audit Daemon

[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

[Install]
WantedBy=multi-user.target