rendered paste body[root@cos-nzb /usr/local/etc/rc.d]# /usr/local/etc/rc.d/hellanzb rcvar
/usr/local/etc/rc.d/hellanzb: WARNING: no shebang line in /usr/sbin/daemon
# hellanzb
hellanzb_enable=YES
[root@cos-nzb /usr/local/etc/rc.d]# ls -l
total 8
-r-xr-xr-x 1 root wheel 237 Feb 9 20:09 hellanzb
-r-xr-xr-x 1 root wheel 308 Feb 9 20:09 hellawww
-r-xr-xr-x 1 root wheel 1026 Feb 9 18:12 stunnel
-r-xr-xr-x 1 root wheel 805 Feb 9 15:10 svnserve
[root@cos-nzb /usr/local/etc/rc.d]# cat hellanzb
#!/bin/sh
. /etc/rc.subr
name="hellanzb"
rcvar=`set_rcvar`
command="/usr/sbin/daemon -u cluster /usr/local/bin/hellanzb.py -D"
command_args=" > /dev/null 2>&1"
stop_cmd="hellanzb.py shutdown"
load_rc_config $name
run_rc_command "$1"
[root@cos-nzb /usr/local/etc/rc.d]#