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

  1. [Unit]
  2. Description=Control and monitor the state of your smart garage door opener
  3. After=network.target
  4. [Service]
  5. ExecStart=/usr/bin/python3 -u garage_door_script.py
  6. WorkingDirectory=/home/pi/garagedoor
  7. StandardOutput=inherit
  8. StandardError=inherit
  9. Restart=always
  10. User=pi
  11. [Install]
  12. WantedBy=multi-user.target