blob: 9c9390146891d1b70d677ab8570ddb887ccdf00e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: supervisord
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf.local or /etc/rc.conf
# to enable supervisord:
#
# supervisord_enable="YES"
#
. /etc/rc.subr
name="supervisord"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/${name}"
command_interpreter="%%PYTHON_CMD%%"
pidfile="%%PIDDIR%%/${name}.pid"
load_rc_config $name
: ${supervisord_enable="NO"}
run_rc_command "$1"
|