summarylogtreecommitdiffstats
path: root/acct.service
blob: 94efeca79fa1d95360cb9f207f7aea1f00a33eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Kernel process accounting
After=syslog.target
ConditionPathExists=/var/log/account

[Service]
Type=oneshot
ExecStartPre=/usr/lib/acct/accton-create
ExecStart=/usr/sbin/accton /var/log/account/pacct
ExecStop=/usr/sbin/accton off
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target