b4118877b1
KEYWORD: FreeBSD scourge. We have ignored this keyword for a long time now, so this is a non-functional change (therefore no PORTREVISION bumps). Insert a $FreeBSD tag where needed, and adjust a comment in mail/milter-regex to match reality.
29 lines
509 B
Bash
29 lines
509 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
# PROVIDE: mythbackend
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
# Define mythbackend_enable in one of these places:
|
|
# /etc/rc.conf
|
|
# /etc/rc.conf.local
|
|
#
|
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
|
#
|
|
mythbackend_enable=${mythbackend_enable-"NO"}
|
|
PATH=${PATH}:%%PREFIX%%/bin
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="mythbackend"
|
|
rcvar=`set_rcvar`
|
|
command="%%PREFIX%%/bin/mythbackend &"
|
|
|
|
load_rc_config $name
|
|
|
|
start_cmd="echo \"Starting ${name}.\"; ${command}"
|
|
|
|
run_rc_command "$1"
|