debian: adapt authentic2 package scripts for python3
This commit is contained in:
parent
7ef148e0c5
commit
441276f573
|
@ -28,4 +28,4 @@ if [ -f /etc/authentic2/authentic.conf ]; then
|
|||
. /etc/authentic2/authentic.conf
|
||||
fi
|
||||
|
||||
python ${MANAGE} "$@"
|
||||
python3 ${MANAGE} "$@"
|
||||
|
|
|
@ -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/python2 -m gunicorn.app.wsgiapp \
|
||||
ExecStart=/usr/bin/gunicorn3 \
|
||||
--bind unix:/run/%p/%p.sock \
|
||||
--worker-class=sync \
|
||||
--workers 5 \
|
||||
|
|
Loading…
Reference in New Issue