0001-debian-restore-use-of-launch-authentic2.sh-in-authen.patch
debian/authentic2.init | ||
---|---|---|
16 | 16 |
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
17 | 17 |
DESC=authentic2 |
18 | 18 |
NAME=authentic2 |
19 |
DAEMON=/usr/bin/uwsgi
|
|
19 |
DAEMON=/usr/lib/authentic2/launch-authentic2.sh
|
|
20 | 20 |
RUN_DIR=/run/$NAME |
21 | 21 |
PIDFILE=$RUN_DIR/$NAME.pid |
22 | 22 |
LOG_DIR=/var/log/$NAME |
debian/authentic2.service | ||
---|---|---|
10 | 10 |
Group=authentic2 |
11 | 11 |
ExecStartPre=/usr/bin/authentic2-manage migrate --noinput |
12 | 12 |
ExecStartPre=/usr/bin/authentic2-manage collectstatic --noinput |
13 |
ExecStart=/usr/bin/uwsgi --ini /etc/%p/%p-uwsgi.ini
|
|
13 |
ExecStart=/usr/lib/authentic2/launch-authentic2.sh --ini /etc/%p/%p-uwsgi.ini
|
|
14 | 14 |
ExecReload=/bin/kill -HUP $MAINPID |
15 | 15 |
KillSignal=SIGQUIT |
16 | 16 |
TimeoutStartSec=0 |
debian/launch-authentic2.sh | ||
---|---|---|
12 | 12 |
. /etc/authentic2/authentic.conf |
13 | 13 |
fi |
14 | 14 | |
15 |
/usr/bin/gunicorn3 "$@" |
|
15 |
exec /usr/bin/uwsgi "$@" |
|
16 |
- |