debian: restore use of launch-authentic2.sh in authentic2 package (#48701)
This commit is contained in:
parent
60c182181d
commit
7fdf868b5c
|
@ -16,7 +16,7 @@
|
|||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC=authentic2
|
||||
NAME=authentic2
|
||||
DAEMON=/usr/bin/uwsgi
|
||||
DAEMON=/usr/lib/authentic2/launch-authentic2.sh
|
||||
RUN_DIR=/run/$NAME
|
||||
PIDFILE=$RUN_DIR/$NAME.pid
|
||||
LOG_DIR=/var/log/$NAME
|
||||
|
|
|
@ -10,7 +10,7 @@ User=authentic2
|
|||
Group=authentic2
|
||||
ExecStartPre=/usr/bin/authentic2-manage migrate --noinput
|
||||
ExecStartPre=/usr/bin/authentic2-manage collectstatic --noinput
|
||||
ExecStart=/usr/bin/uwsgi --ini /etc/%p/%p-uwsgi.ini
|
||||
ExecStart=/usr/lib/authentic2/launch-authentic2.sh --ini /etc/%p/%p-uwsgi.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillSignal=SIGQUIT
|
||||
TimeoutStartSec=0
|
||||
|
|
|
@ -12,4 +12,4 @@ if [ -f /etc/authentic2/authentic.conf ]; then
|
|||
. /etc/authentic2/authentic.conf
|
||||
fi
|
||||
|
||||
/usr/bin/gunicorn3 "$@"
|
||||
exec /usr/bin/uwsgi "$@"
|
||||
|
|
Loading…
Reference in New Issue