migration pi2 to oscar

This commit is contained in:
vincent 2020-01-19 13:41:09 +01:00
parent 5304f21a49
commit dcafe623c0

View File

@ -1,8 +1,11 @@
[Unit] [Unit]
Description=Supysonic Daemon Description=Supysonic Daemon
after=mariadb.Service
After=network.target
[Service] [Service]
User=root User=root
Restart=always
RestartSec=2s
Group=root Group=root
WorkingDirectory={{source_location}}/{{supysonic_name}} WorkingDirectory={{source_location}}/{{supysonic_name}}
ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/python -m supysonic.daemon ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/python -m supysonic.daemon