This commit is contained in:
2026-05-09 16:31:36 +08:00
commit 9f785a17f5
8 changed files with 340 additions and 0 deletions

16
auto-fan.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Auto Raspberry Pi 4-Line Fan
After=pigpiod.service network.target
[Service]
User=root
Group=root
WorkingDirectory=/opt/Auto_Fan
ExecStart=/opt/Auto_Fan/fan
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target