diff --git a/templates/systemd/supysonic-daemon.service.j2 b/templates/systemd/supysonic-daemon.service.j2 index 1509ac0..773dbbd 100644 --- a/templates/systemd/supysonic-daemon.service.j2 +++ b/templates/systemd/supysonic-daemon.service.j2 @@ -1,8 +1,11 @@ [Unit] Description=Supysonic Daemon - +after=mariadb.Service +After=network.target [Service] User=root +Restart=always +RestartSec=2s Group=root WorkingDirectory={{source_location}}/{{supysonic_name}} ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/python -m supysonic.daemon