mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Switch to using /run directory instead of the legacy /var/run
Closes: https://github.com/ibm-s390-tools/s390-tools/pull/53 Signed-off-by: Dan Horák <dan@danny.cz> Acked-by: Sa Liu <saliu@de.ibm.com> Acked-by: Harald Freudenberger <freude@linux.ibm.com> Acked-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -15,7 +15,7 @@ ConditionVirtualization=no
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@usrsbin_path@/cpacfstatsd
|
||||
PIDFile=/var/run/cpacfstatsd.pid
|
||||
PIDFile=/run/cpacfstatsd.pid
|
||||
KillMode=process
|
||||
Restart=no
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ ExecStart=@usrsbin_path@/cpuplugd -c @sysconf_path@/cpuplugd.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Type=forking
|
||||
PIDFile=/var/run/cpuplugd.pid
|
||||
PIDFile=/run/cpuplugd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -34,7 +34,7 @@ ExecStart=@usrsbin_path@/mon_fsstatd -i $FSSTAT_INTERVAL
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Type=forking
|
||||
PIDFile=/var/run/mon_fsstatd.pid
|
||||
PIDFile=/run/mon_fsstatd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -34,7 +34,7 @@ ExecStart=@usrsbin_path@/mon_procd -i $PROC_INTERVAL
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Type=forking
|
||||
PIDFile=/var/run/mon_procd.pid
|
||||
PIDFile=/run/mon_procd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user