Supervisor / initscripts

User-contributed OS init scripts for Supervisor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freebsd script

oquidave opened this issue · comments

Hello, It seems you didn't include the init script for FreeBSD.

I have come up with the one below which I save in /usr/local/etc/rc.d before enabling in /etc/rc.conf, but it doesn't seem to work well.


#!/bin/sh

. /etc/rc.subr

name="supervisord"
rcvar=`set_rcvar`

command="/usr/local/bin/${name}"
command_args="-c /etc/supervisord.conf"

load_rc_config $name
run_rc_command "$1

see #47 for freebsd init support