forked from pool/sysstat
lockfile. Using lockfile would require additional SELinux permissions. Require util-linux instead of procmail for this (bsc#1228246) OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=153
21 lines
494 B
Diff
21 lines
494 B
Diff
Index: sysstat-12.0.6/sysstat.service.in
|
|
===================================================================
|
|
--- sysstat-12.0.6.orig/sysstat.service.in
|
|
+++ sysstat-12.0.6/sysstat.service.in
|
|
@@ -7,12 +7,15 @@
|
|
|
|
[Unit]
|
|
Description=Resets System Activity Logs
|
|
+After=remote-fs.target local-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
User=@CRON_OWNER@
|
|
ExecStart=@SA_LIB_DIR@/sa1 --boot
|
|
+ExecStop=@SA_LIB_DIR@/sa1 1 1
|
|
+StandardOutput=null
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|