diff --git a/notes.md b/notes.md index 52f6cd6..83dd3a7 100644 --- a/notes.md +++ b/notes.md @@ -46,6 +46,30 @@ https://gist.github.com/ivesdebruycker/4b08bdd5415609ce95e597c1d28e9b9e +## piplayer als Service + sudo nano /lib/systemd/system/piplayer.service + +[Unit] +Description=piplayer +After=volumio.service +Requires=volumio.service + +[Service] +Type=simple +ExecStart=/bin/bash -c 'exec python3.6 /home/volumio/piplayer4.py > /tmp/piplayer4.log 2>&1' +User=volumio + +[Install] +WantedBy=multi-user.target + + sudo systemctl daemon-reload + sudo systemctl enable piplayer.service + sudo reboot + + + +## read-only + ----------------------------------------------------------