diff --git a/templates/systemd/gunicorn.service.j2 b/templates/systemd/gunicorn.service.j2 index dc7d1b3..0ce995a 100644 --- a/templates/systemd/gunicorn.service.j2 +++ b/templates/systemd/gunicorn.service.j2 @@ -1,6 +1,6 @@ [Unit] Description=gunicorn daemon for {{supysonic_name}} -After=network.target {{ 'postgresql.service' if supysonic_DB_type == 'postgres' else mysqld.service supysonic_DB_type == 'mysql' }} +After=network.target {{ 'postgresql.service' if supysonic_DB_type == 'postgres' else mysqld.service }} [Service] PIDFile=/run/gunicorn-{{supysonic_name}}/pid diff --git a/templates/systemd/supysonic-daemon.service.j2 b/templates/systemd/supysonic-daemon.service.j2 index bd4ec33..464e91a 100644 --- a/templates/systemd/supysonic-daemon.service.j2 +++ b/templates/systemd/supysonic-daemon.service.j2 @@ -1,6 +1,6 @@ [Unit] Description=Supysonic Daemon -After={{ 'postgresql.service' if supysonic_DB_type == 'postgres' else mysqld.service supysonic_DB_type == 'mysql' }} +After={{ 'postgresql.service' if supysonic_DB_type == 'postgres' else mysqld.service }} After=network.target [Service] User=root