Kristyna Streitova
a7b07f6026
- acct.service: fix chmod command call to use an absolute path [bsc#1053528] OBS-URL: https://build.opensuse.org/request/show/527371 OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=60
14 lines
284 B
Desktop File
14 lines
284 B
Desktop File
[Unit]
|
|
Description=Process accounting
|
|
Documentation=man:accton(8)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
ExecStartPre=/usr/bin/chmod 600 /var/log/account/pacct
|
|
ExecStart=/usr/sbin/accton /var/log/account/pacct
|
|
ExecStop=/usr/sbin/accton off
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|