webradio.service 312 B

1234567891011121314151617
  1. [Unit]
  2. Description=webradio
  3. After=network-online.target
  4. Wants=network-online.target
  5. [Service]
  6. Type=simple
  7. User=pi
  8. Group=pi
  9. WorkingDirectory=/home/pi/webradio
  10. ExecStart=/usr/bin/python3 /home/pi/webradio/webradio.py
  11. Restart=always
  12. StandardOutput=syslog
  13. StandardError=syslog
  14. [Install]
  15. WantedBy=multi-user.target