psacct/psacct.service

14 lines
254 B
SYSTEMD
Raw Normal View History

2011-06-29 17:58:07 +00:00
[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