added launch script, config an systemd unit file.

This commit is contained in:
2026-04-01 10:53:00 +02:00
parent e154348dd7
commit 1e22ebdff5
3 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Control the Ultra Light ICE-Tower Cooler fan
After=network.service
[Service]
Type=simple
#WorkingDirectory=/home/pi/git/fanctrl
ExecStart=/usr/local/bin/fanctrl
StandardOutput=append:/var/log/fanctrl.log
StandardError=append:/var/log/fanctrl_error.log
Restart=no
[Install]
WantedBy=multi-user.target