coorect template for postgress
This commit is contained in:
parent
e1c504e75b
commit
05a56a9e04
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=gunicorn daemon for {{supysonic_name}}
|
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]
|
[Service]
|
||||||
PIDFile=/run/gunicorn-{{supysonic_name}}/pid
|
PIDFile=/run/gunicorn-{{supysonic_name}}/pid
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Supysonic Daemon
|
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
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
|
Loading…
Reference in New Issue
Block a user