Switch projectors on and off at a specified time
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
275 B

  1. [Unit]
  2. Description=Switch projectors on and off
  3. After=multi-user.target
  4. [Service]
  5. Type=idle
  6. User=pi
  7. ExecStart=/usr/bin/python3 /home/pi/ir-remote-timer/ir-remote-timer.py > /home/pi/ir-remote-timer.log 2>&1
  8. Restart=always
  9. RestartSec=3
  10. [Install]
  11. WantedBy=multi-user.target