Add fan service

This commit is contained in:
Marko Korhonen 2020-02-17 15:12:40 +02:00
parent d9ef8fbc5b
commit ecb3dbb04c
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