diff options
Diffstat (limited to 'apks/jnfilter/jnfilter.initd')
-rw-r--r-- | apks/jnfilter/jnfilter.initd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apks/jnfilter/jnfilter.initd b/apks/jnfilter/jnfilter.initd new file mode 100644 index 0000000..83c7a97 --- /dev/null +++ b/apks/jnfilter/jnfilter.initd @@ -0,0 +1,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 +} |