0001-misc-add-uwsgi-spooler-43153.patch
debian/authentic2-multitenant-uwsgi.ini | ||
---|---|---|
12 | 12 |
chmod-socket = 666 |
13 | 13 |
vacuum = true |
14 | 14 | |
15 |
spooler-processes = 3 |
|
16 |
spooler-python-import = authentic2.utils.spooler |
|
17 | ||
15 | 18 |
master = true |
16 | 19 |
enable-threads = true |
17 | 20 |
harakiri = 120 |
debian/authentic2-uwsgi.ini | ||
---|---|---|
12 | 12 |
chmod-socket = 666 |
13 | 13 |
vacuum = true |
14 | 14 | |
15 |
spooler-processes = 3 |
|
16 |
spooler-python-import = authentic2.utils.spooler |
|
17 | ||
15 | 18 |
master = true |
16 | 19 |
enable-threads = true |
17 | 20 |
harakiri = 120 |
debian/authentic2.dirs | ||
---|---|---|
6 | 6 |
var/lib/authentic2/collectstatic |
7 | 7 |
var/lib/authentic2/locale |
8 | 8 |
var/lib/authentic2/templates |
9 |
var/lib/authentic2/spooler |
|
9 | 10 |
var/log/authentic2 |
debian/authentic2.init | ||
---|---|---|
38 | 38 |
DAEMON_ARGS=${DAEMON_ARGS:-"--pidfile=$PIDFILE |
39 | 39 |
--uid $USER --gid $GROUP |
40 | 40 |
--ini /etc/$NAME/$NAME-uwsgi.ini |
41 |
--spooler /var/lib/$NAME/spooler/ |
|
41 | 42 |
--daemonize /var/log/uwsgi.$NAME.log"} |
42 | 43 | |
43 | 44 |
# Load the VERBOSE setting and other rcS variables |
debian/authentic2.postinst | ||
---|---|---|
98 | 98 |
$AUTHENTIC_HOME/locale \ |
99 | 99 |
$AUTHENTIC_HOME/media \ |
100 | 100 |
$AUTHENTIC_HOME/templates \ |
101 |
$AUTHENTIC_HOME/spooler \ |
|
101 | 102 |
/var/log/$NAME \ |
102 | 103 |
;; |
103 | 104 |
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/lib/authentic2/launch-authentic2.sh --ini /etc/%p/%p-uwsgi.ini |
|
13 |
ExecStartPre=/bin/mkdir -p /var/lib/authentic2/spooler/%m/ |
|
14 |
ExecStart=/usr/lib/authentic2/launch-authentic2.sh --ini /etc/%p/%p-uwsgi.ini --spooler /var/lib/authentic2/spooler/%m/ |
|
14 | 15 |
ExecReload=/bin/kill -HUP $MAINPID |
15 | 16 |
KillSignal=SIGQUIT |
16 | 17 |
TimeoutStartSec=0 |
debian/control | ||
---|---|---|
58 | 58 |
python3-psycopg2, |
59 | 59 |
uwsgi, |
60 | 60 |
uwsgi-plugin-python3, |
61 |
python3-uwsgidecorators, |
|
61 | 62 |
dbconfig-common, |
62 | 63 |
debconf | debconf-2.0, ucf |
63 | 64 |
Recommends: postgresql-client |
64 |
- |