diff options
Diffstat (limited to 'dns/dnsproxy/files/dnsproxy.in')
-rw-r--r-- | dns/dnsproxy/files/dnsproxy.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dns/dnsproxy/files/dnsproxy.in b/dns/dnsproxy/files/dnsproxy.in new file mode 100644 index 000000000000..65815da63b91 --- /dev/null +++ b/dns/dnsproxy/files/dnsproxy.in @@ -0,0 +1,32 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: dnsproxy +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Define these dnsproxy_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# +# dnsproxy_enable="YES" # Run the dnsproxy(1) daemon (YES/NO). +# dnsproxy_flags="" # Extra flags for dnsproxy(1) (if enabled). +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# +dnsproxy_enable=${dnsproxy_enable:-"NO"} +command_args=${dnsproxy_flags:-"-c %%ETCDIR%%/dnsproxy.conf -d"} + +. %%RC_SUBR%% + +name="dnsproxy" +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/dnsproxy" + +load_rc_config $name +run_rc_command "$1" |