diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
commit | 9aac569eaa031e27191a3f4165b389a17f467ad2 (patch) | |
tree | 1ed78841e1757014ccc09581c61c3683992d3f77 /irc/thales/files/thales.in | |
parent | 47b836bfe5c397deb173a868525d4cba22cbb5fa (diff) | |
download | ports-9aac569eaa031e27191a3f4165b389a17f467ad2.tar.gz ports-9aac569eaa031e27191a3f4165b389a17f467ad2.zip |
Notes
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" |