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

16 lines
315 B
Desktop File

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