root/lm-sensors/trunk/prog/init/lm_sensors.service

Revision 5964, 350 bytes (checked in by jwrdegoede, 13 months ago)

systemd integration

Line 
1[Unit]
2Description=Initialize hardware monitoring sensors
3After=syslog.target
4
5[Service]
6EnvironmentFile=/etc/sysconfig/lm_sensors
7Type=oneshot
8RemainAfterExit=yes
9ExecStart=-/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES
10ExecStart=/usr/bin/sensors -s
11ExecStop=-/sbin/modprobe -qabr $BUS_MODULES $HWMON_MODULES
12
13[Install]
14WantedBy=multi-user.target
Note: See TracBrowser for help on using the browser.