mirror of
https://github.com/brezlord/iDRAC7_fan_control.git
synced 2025-09-07 07:41:13 +00:00
add service and script, update readme
This commit is contained in:
20
fancontrol.service
Normal file
20
fancontrol.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Fan Control script
|
||||
|
||||
StartLimitIntervalSec=14400
|
||||
StartLimitBurst=10
|
||||
|
||||
[Service]
|
||||
Restart=on-abnormal
|
||||
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
ExecStart=/usr/local/sbin/fan_control_dyn.sh
|
||||
|
||||
ProtectSystem=full
|
||||
|
||||
TimeoutStopSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user