mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
uwsgi: backport master changes to 19.07
To support new luci version uwsgi has been changed. Backport this changes to 19.07 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[uwsgi]
|
||||
strict = true
|
||||
pidfile = /var/run/uwsgi.pid
|
||||
emperor = /etc/uwsgi/vassals/*.ini
|
||||
early-emperor = true
|
||||
vacuum = true
|
||||
emperor-on-demand-directory = /var/run/
|
||||
emperor-required-heartbeat = 99
|
||||
vassal-set = die-on-idle=true
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=79
|
||||
USE_PROCD=1
|
||||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command /usr/sbin/uwsgi --ini /etc/uwsgi/emperor.ini
|
||||
procd_set_param stderr 1
|
||||
procd_set_param file /etc/uwsgi/emperor.ini
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user