diff options
Diffstat (limited to 'irc/thales/files/thales.in')
-rw-r--r-- | irc/thales/files/thales.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/irc/thales/files/thales.in b/irc/thales/files/thales.in new file mode 100644 index 000000000000..6e007ac9e50a --- /dev/null +++ b/irc/thales/files/thales.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: thales +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable Thales: +# thales_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable Thales +# + +. /etc/rc.subr + +name="thales" +rcvar=thales_enable + +command="%%PREFIX%%/sbin/thales" + +[ -z "$thales_enable" ] && thales_enable="NO" + +required_files="%%PREFIX%%/etc/thales.conf" + +load_rc_config $name +run_rc_command "$1" |