2011-06-29 17:58:07 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Kernel process accounting
|
|
|
|
After=syslog.target
|
2013-04-11 18:56:49 +00:00
|
|
|
ConditionPathExists=/var/account
|
2011-06-29 17:58:07 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2013-04-11 18:56:49 +00:00
|
|
|
ExecStartPre=/usr/libexec/psacct/accton-create
|
|
|
|
ExecStart=/usr/sbin/accton /var/account/pacct
|
|
|
|
ExecStop=/usr/sbin/accton off
|
2011-06-29 17:58:07 +00:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|