Add ipmi-temp service and timer

This commit is contained in:
Marko Korhonen 2020-02-14 01:26:00 +02:00
parent 07d72f06d5
commit e5a477d542
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
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