mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
systemd integration
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5964 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
516e1075a3
commit
3171cff666
2 files changed
+35
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Initialize hardware monitoring sensors
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/sysconfig/lm_sensors
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=-/sbin/modprobe -qab $BUS_MODULES $HWMON_MODULES
|
||||
ExecStart=/usr/bin/sensors -s
|
||||
ExecStop=-/sbin/modprobe -qabr $BUS_MODULES $HWMON_MODULES
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user