mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
Change PIDFile path from /var/run to /run
/var/run is considered a legacy directory by systemd 239+ and having it in unit files causes a warning to be emitted to the journal.
This commit is contained in:
1 parent
248d4a17a5
commit
25f4f87937
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