SHA256
1
0
forked from pool/acct
acct/acct.service

14 lines
275 B
Desktop File

[Unit]
Description=Process accounting
Documentation=man:accton(8)
[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=chmod 600 /var/log/account/pacct
ExecStart=/usr/sbin/accton /var/log/account/pacct
ExecStop=/usr/sbin/accton off
[Install]
WantedBy=multi-user.target