Add ipmi-temp service and timer

This commit is contained in:
Marko Korhonen 2020-02-14 01:26:00 +02:00
parent 78dc41b64a
commit 2afba83f04
3 changed files with 30 additions and 0 deletions

View 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

View file

@ -0,0 +1,9 @@
[Unit]
Description=Watches server temperature
[Timer]
OnUnitInactiveSec=5s
OnBootSec=5s
[Install]
WantedBy=timers.target