diff --git a/root/etc/systemd/system/ipmi/ipmi-fans.service b/root/etc/systemd/system/ipmi/ipmi-fans.service new file mode 100644 index 0000000..d6610da --- /dev/null +++ b/root/etc/systemd/system/ipmi/ipmi-fans.service @@ -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 diff --git a/root/etc/systemd/system/ipmi/ipmi-fans.timer b/root/etc/systemd/system/ipmi/ipmi-fans.timer new file mode 100644 index 0000000..554be35 --- /dev/null +++ b/root/etc/systemd/system/ipmi/ipmi-fans.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run fans service every 30s + +[Timer] +OnUnitInactiveSec=15s +OnBootSec=15s + +[Install] +WantedBy=timers.target