mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
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:
2 files changed
+2
-2
No files matched your search
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user