diff options
author | Sorin-Mihai Vârgolici | 2018-12-23 01:58:21 +0200 |
---|---|---|
committer | Sorin-Mihai Vârgolici | 2018-12-23 01:58:21 +0200 |
commit | 5139ed60b0e18e040ea43895e988290a2fb44f9b (patch) | |
tree | 0b921ac81e866939151a950c0bd57ab08d271b1f /acct.service | |
download | aur-5139ed60b0e18e040ea43895e988290a2fb44f9b.tar.gz |
Initial commit
Diffstat (limited to 'acct.service')
-rw-r--r-- | acct.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/acct.service b/acct.service new file mode 100644 index 000000000000..94efeca79fa1 --- /dev/null +++ b/acct.service @@ -0,0 +1,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 |