debian: use explicit command name in systemd execstartpre (#22757)
This commit is contained in:
parent
d72561e3b8
commit
f3d73b3eb4
|
@ -7,8 +7,8 @@ Wants=postgresql.service
|
|||
Environment=BIJOE_SETTINGS_FILE=/usr/lib/%p/debian_config.py
|
||||
User=%p
|
||||
Group=%p
|
||||
ExecStartPre=/usr/bin/%p-manage migrate_schemas --noinput
|
||||
ExecStartPre=/usr/bin/%p-manage collectstatic --noinput
|
||||
ExecStartPre=/usr/bin/bijoe-manage migrate_schemas --noinput
|
||||
ExecStartPre=/usr/bin/bijoe-manage collectstatic --noinput
|
||||
ExecStart=/usr/bin/gunicorn \
|
||||
--bind unix:/run/%p/%p.sock \
|
||||
--worker-class=sync \
|
||||
|
|
Loading…
Reference in New Issue