Update notes.md
This commit is contained in:
@@ -46,6 +46,30 @@
|
|||||||
|
|
||||||
https://gist.github.com/ivesdebruycker/4b08bdd5415609ce95e597c1d28e9b9e
|
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
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user