2
0
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:
Jean Delvare
2013-05-24 10:53:19 +00:00
parent 1e3fb43118
commit 98f280797c

12
prog/init/sensord.service Normal file
View 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