14 lines
364 B
SYSTEMD
14 lines
364 B
SYSTEMD
|
[Unit]
|
||
|
Description=Hardware Monitoring Sensors
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/sysconfig/lm_sensors
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=-@WRAPPER_DIR@/lm_sensors-modprobe-wrapper $BUS_MODULES $HWMON_MODULES
|
||
|
ExecStart=/usr/bin/sensors -s
|
||
|
ExecStop=-@WRAPPER_DIR@/lm_sensors-modprobe-r-wrapper $BUS_MODULES $HWMON_MODULES
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|