debian: use explicit command name in systemd execstartpre (#22757)

This commit is contained in:
Thomas NOËL 2018-03-23 01:06:02 +01:00
parent d72561e3b8
commit f3d73b3eb4
1 changed files with 2 additions and 2 deletions

View File

@ -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 \