diff options
Diffstat (limited to 'net/irrd/files/irrd.in')
-rw-r--r-- | net/irrd/files/irrd.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/irrd/files/irrd.in b/net/irrd/files/irrd.in new file mode 100644 index 000000000000..96dee7541f2c --- /dev/null +++ b/net/irrd/files/irrd.in @@ -0,0 +1,28 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: irrd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Define these irrd_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/irrd +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# +irrd_enable="${irrd_enable:-NO}" # Enable irrd +#irrd_program="%%PREFIX%%/sbin/irrd" # Location of irrd +irrd_flags="${irrd_flags:--u}" # Flags to imapd program + +. /etc/rc.subr + +name="irrd" +rcvar=irrd_enable +command="%%PREFIX%%/sbin/irrd" +required_files="%%PREFIX%%/etc/irrd.conf" + +load_rc_config $name +run_rc_command "$1" |