1#!/sbin/openrc-run
2supervisor="supervise-daemon"
3
4name="jnfilter"
5command="/usr/bin/gunicorn"
6command_args="
7 -w ${workers}
8 -b ${host}:${port}
9 jnfilter:app
10"
11command_background="yes"
12
13pidfile="/run/$RC_SVCNAME.pid"
14
15depend() {
16 use net
17}