psacct/psacct.service
2011-06-29 19:58:07 +02:00

14 lines
254 B
Desktop File

[Unit]
Description=Kernel process accounting
After=syslog.target
ConditionPathExists=/var/account/pacct
[Service]
Type=oneshot
ExecStart=/sbin/accton /var/account/pacct
ExecStop=/sbin/accton off
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target