summaryrefslogtreecommitdiff
path: root/chat/kgb-bot/files
diff options
context:
space:
mode:
Diffstat (limited to 'chat/kgb-bot/files')
-rw-r--r--chat/kgb-bot/files/kgb_bot.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/chat/kgb-bot/files/kgb_bot.sh b/chat/kgb-bot/files/kgb_bot.sh
new file mode 100644
index 00000000000..6865d066717
--- /dev/null
+++ b/chat/kgb-bot/files/kgb_bot.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $NetBSD: kgb_bot.sh,v 1.1 2013/11/05 02:13:42 tonnerre Exp $
+#
+# PROVIDE: kgb_bot
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="kgb_bot"
+rcvar=$name
+command="@PREFIX@/sbin/kgb-bot"
+required_files="@PKG_SYSCONFDIR@/kgb-bot/kgb.conf"
+
+load_rc_config $name
+run_rc_command "$1"