Merge pull request #226 from puneetse/fix-systemd-pidfile-warning

Change PIDFile path from /var/run to /run in systemd service units
This commit is contained in:
Ondřej Lysoněk authored and GitHub committed 2020-06-25 12:49:49 +02:00
commit 60d3c6be94
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ After=lm_sensors.service
[Service]
Type=simple
PIDFile=/var/run/fancontrol.pid
PIDFile=/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol
[Install]
+1 -1
View File
@@ -5,7 +5,7 @@ After=lm_sensors.service
[Service]
EnvironmentFile=/etc/sysconfig/sensord
Type=forking
PIDFile=/var/run/sensord.pid
PIDFile=/run/sensord.pid
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
[Install]