From dcafe623c0d47a9be3f649a15d7d292cba4fb228 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 19 Jan 2020 13:41:09 +0100 Subject: [PATCH] migration pi2 to oscar --- templates/systemd/supysonic-daemon.service.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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