radio.service 266 B

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