psacct/psacct.service
Troy Dawson ce45888018 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/psacct#48389e9d466a667bca0f508bfde0f7f07e616317
2020-10-14 16:33:55 -07:00

15 lines
303 B
Desktop File

[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
ExecStop=/usr/sbin/accton off
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target