12 lines
266 B
Bash
12 lines
266 B
Bash
#!/bin/ksh
|
|
|
|
daemon="${LOCALBASE}/bin/gunicorn"
|
|
daemon_execdir="${INSTDIR}"
|
|
daemon_flags="--daemon --workers 4 puppetboard_wsgi:application"
|
|
daemon_user="_puppetboard"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="${MODPY_BIN}.*${daemon}.*${daemon_flags:+ ${daemon_flags}}"
|
|
|
|
rc_cmd $1
|