Add ipmi-temp service and timer
This commit is contained in:
parent
78dc41b64a
commit
2afba83f04
3 changed files with 30 additions and 0 deletions
9
root/etc/systemd/system/ipmi-temp.service
Normal file
9
root/etc/systemd/system/ipmi-temp.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Watch server temperature
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/balrog/Scripts/ipmi-temp.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
root/etc/systemd/system/ipmi-temp.timer
Normal file
9
root/etc/systemd/system/ipmi-temp.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Watches server temperature
|
||||
|
||||
[Timer]
|
||||
OnUnitInactiveSec=5s
|
||||
OnBootSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue