update script, daemon, services, added sound, small improvements
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
Description=Luniebox Application
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/pi/luniebox/application
|
||||
ExecStart=/home/pi/luniebox/application/venv/bin/gunicorn -b 0.0.0.0:80 app:app
|
||||
Restart=always
|
||||
RestartSec=12
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -2,11 +2,13 @@
|
||||
Description=Luniebox Daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=pi
|
||||
Group=pi
|
||||
WorkingDirectory=/home/pi/luniebox/application
|
||||
ExecStart=/home/pi/luniebox/application/venv/bin/python daemon.py
|
||||
Restart=always
|
||||
RestartSec=12
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
#FailureAction=/home/pi/luniebox/application/venv/bin/python daemon-failure.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -9,8 +9,8 @@ After=network-online.target
|
||||
User=pi
|
||||
Group=pi
|
||||
ExecStart=/home/pi/luniebox/bin/spotifyd --config-path /home/pi/luniebox/config/spotifyd.cfg --no-daemon
|
||||
Restart=always
|
||||
RestartSec=12
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user