Files
lm-sensors/prog/init/sensord.service
T
puneetse 25f4f87937 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.
2020-03-11 09:36:51 -07:00

13 lines
267 B
Desktop File

[Unit]
Description=Log hardware monitoring data
After=lm_sensors.service
[Service]
EnvironmentFile=/etc/sysconfig/sensord
Type=forking
PIDFile=/run/sensord.pid
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
[Install]
WantedBy=multi-user.target