Browse Source

Radio renamed to webradio

rbs-nas 10 months ago
parent
commit
502dcde3d3
2 changed files with 11 additions and 11 deletions
  1. 0 11
      radio.service
  2. 11 0
      webradio.service

+ 0 - 11
radio.service

@@ -1,11 +0,0 @@
-[Unit]
-Description=Internet Radio
-
-[Service]
-Restart=always
-User=robert
-WorkingDirectory=/home/robert/radio
-ExecStart=/bin/bash -c "source /home/robert/radio/.venv/bin/activate && sleep 20 && python3 /home/robert/radio/main.py"
-
-[Install]
-WantedBy=multi-user.target

+ 11 - 0
webradio.service

@@ -0,0 +1,11 @@
+[Unit]
+Description=Webradio MPD Client
+
+[Service]
+Restart=always
+User=robert
+WorkingDirectory=/home/robert/webradio
+ExecStart=/bin/bash -c "source /home/robert/webradio/.venv/bin/activate && sleep 5 && python3 /home/robert/webradio/main.py"
+
+[Install]
+WantedBy=multi-user.target