mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 03:28:07 +00:00
Provide the minimal applications and plugins for: cgi, filelog, syslog and python3. More plugins can be added if needed by other packages. Autostart uwsgi in emperor mode loading vassals on demand. For now, include luci-support (maybe it will be moved to another package), which uses the syslog plugin by default. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
15 lines
278 B
Bash
15 lines
278 B
Bash
#!/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
|
|
}
|
|
|