aboutsummaryrefslogtreecommitdiff
path: root/apks/jnfilter/jnfilter.initd
blob: 83c7a9704dc3f604bcf24907f908727a9993dc1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run
supervisor="supervise-daemon"

name="jnfilter"
command="/usr/bin/gunicorn"
command_args="
    -w ${workers}
    -b ${host}:${port}
    jnfilter:app
"
command_background="yes"

pidfile="/run/$RC_SVCNAME.pid"

depend() {
	use net
}