init
This commit is contained in:
16
auto-fan.service
Normal file
16
auto-fan.service
Normal 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
|
||||
Reference in New Issue
Block a user