Add fan service

This commit is contained in:
Marko Korhonen 2020-02-17 15:12:40 +02:00
parent 7d220b7a61
commit 3ec7ffd2e0
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 18 additions and 0 deletions

View 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

View file

@ -0,0 +1,9 @@
[Unit]
Description=Run fans service every 30s
[Timer]
OnUnitInactiveSec=15s
OnBootSec=15s
[Install]
WantedBy=timers.target