webradio.service 279 B

1234567891011
  1. [Unit]
  2. Description=Webradio MPD Client
  3. [Service]
  4. Restart=always
  5. User=robert
  6. WorkingDirectory=/home/robert/webradio
  7. ExecStart=/bin/bash -c "source /home/robert/webradio/.venv/bin/activate && sleep 5 && python3 /home/robert/webradio/main.py"
  8. [Install]
  9. WantedBy=multi-user.target