Projet

Général

Profil

0001-debian-restore-use-of-launch-authentic2.sh-in-authen.patch

Benjamin Dauvergne, 20 novembre 2020 09:31

Télécharger (1,65 ko)

Voir les différences:

Subject: [PATCH] debian: restore use of launch-authentic2.sh in authentic2
 package (#48701)

 debian/authentic2.init      | 2 +-
 debian/authentic2.service   | 2 +-
 debian/launch-authentic2.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
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
-