A rewrite of the Raspberry Pi Garage Door Opener using Flask
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
309 B

[Unit]
Description=Control and monitor the state of your smart garage door opener
After=network.target
[Service]
ExecStart=/usr/bin/python3 -u garage_door_script.py
WorkingDirectory=/home/pi/garagedoor
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi
[Install]
WantedBy=multi-user.target