From 53e7cc8066ebdeedea8588b63c4020a2bce49f98 Mon Sep 17 00:00:00 2001 From: Tilman Date: Sun, 23 Dec 2018 12:36:17 +0000 Subject: [PATCH] Update notes.md --- notes.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 + ----------------------------------------------------------