You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
350 B
16 lines
350 B
[Unit]
|
|
Description=Kernel process accounting
|
|
After=syslog.target
|
|
ConditionPathExists=/var/account
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=/usr/libexec/psacct/accton-create
|
|
ExecStart=/usr/sbin/accton /var/account/pacct
|
|
ExecReload=/usr/sbin/accton /var/account/pacct
|
|
ExecStop=/usr/sbin/accton off
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|