mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +00:00
Add sensord service file for systemd
Original file contributed by Nikola Pajkovsky.
This commit is contained in:
12
prog/init/sensord.service
Normal file
12
prog/init/sensord.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Log hardware monitoring data
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/sensord
|
||||
Type=forking
|
||||
PIDFile=/var/run/sensord.pid
|
||||
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user