Add fan service
This commit is contained in:
parent
d9ef8fbc5b
commit
ecb3dbb04c
2 changed files with 18 additions and 0 deletions
9
root/etc/systemd/system/ipmi/ipmi-fans.service
Normal file
9
root/etc/systemd/system/ipmi/ipmi-fans.service
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Write fan speeds to tmp
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/home/balrog/Scripts/ipmi/fans.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
9
root/etc/systemd/system/ipmi/ipmi-fans.timer
Normal file
9
root/etc/systemd/system/ipmi/ipmi-fans.timer
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run fans service every 30s
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnUnitInactiveSec=15s
|
||||||
|
OnBootSec=15s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in a new issue