revision after reinstall
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
# file located at /lib/systemd/system/
|
||||
|
||||
|
||||
[Unit]
|
||||
Description=onlyone
|
||||
|
||||
Requires=network.target sound.target
|
||||
After=network.target sound.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
# change for user you want!
|
||||
User=root
|
||||
|
||||
# note use your mac address as given by ifconfig and the name you wish to give your player
|
||||
Environment=PYTHONPATH=/srv
|
||||
ExecStart=/usr/bin/python3 -m onlyone --server
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,4 +1,4 @@
|
||||
# file located at /lib/systemd/system/
|
||||
#/etc/systemd/system/squeezelite.service
|
||||
|
||||
|
||||
[Unit]
|
||||
@@ -16,7 +16,11 @@ User=root
|
||||
# note use your mac address as given by ifconfig and the name you wish to give your player
|
||||
#ExecStart=/usr/bin/squeezelite -n "PlayerName"
|
||||
#by default use pi name
|
||||
ExecStart=/usr/local/bin/squeezelite
|
||||
ExecStart=/usr/local/bin/squeezelite -s lms.lan
|
||||
ExecStartPre=/bin/sleep 3
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user