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 }