2013-06-07 12:43:36 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Process accounting
|
|
|
|
Documentation=man:accton(8)
|
|
|
|
|
|
|
|
[Service]
|
2021-10-16 11:20:50 +02:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
2013-06-07 12:43:36 +02:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=true
|
2017-09-21 16:14:13 +02:00
|
|
|
ExecStartPre=/usr/bin/chmod 600 /var/log/account/pacct
|
2015-03-02 13:54:44 +01:00
|
|
|
ExecStart=/usr/sbin/accton /var/log/account/pacct
|
2013-06-07 12:43:36 +02:00
|
|
|
ExecStop=/usr/sbin/accton off
|
|
|
|
|
2014-03-20 08:50:42 +01:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|