summarylogtreecommitdiffstats
path: root/acct.service
diff options
context:
space:
mode:
authorSorin-Mihai Vârgolici2018-12-20 09:30:13 +0200
committerSorin-Mihai Vârgolici2018-12-20 09:30:13 +0200
commit16bb5d2ae8f85b6dc0786d026b4fa1bbff574286 (patch)
tree5ad1764190aee62363873447eacbde4a7118f626 /acct.service
parentb555cb940a1faf409b21a958036d949d89fe31fe (diff)
downloadaur-16bb5d2ae8f85b6dc0786d026b4fa1bbff574286.tar.gz
Changed log file location to something more common in other distros
Diffstat (limited to 'acct.service')
-rw-r--r--acct.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/acct.service b/acct.service
index 3fb123ad32f5..94efeca79fa1 100644
--- a/acct.service
+++ b/acct.service
@@ -1,11 +1,12 @@
[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/acct/acct
+ExecStart=/usr/sbin/accton /var/log/account/pacct
ExecStop=/usr/sbin/accton off
RemainAfterExit=yes