lm_sensors/SOURCES/lm_sensors.service
2021-09-09 21:34:16 +00:00

14 lines
364 B
Desktop File

[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