diff options
author | tonnerre <tonnerre@pkgsrc.org> | 2013-11-05 02:13:42 +0000 |
---|---|---|
committer | tonnerre <tonnerre@pkgsrc.org> | 2013-11-05 02:13:42 +0000 |
commit | bb93424250ea0dca9ad0e79857fe9e1b729d41b1 (patch) | |
tree | 3cfb2196957b39291fd5beede79abbf611c77ac0 /chat/kgb-bot/files | |
parent | 46fe1e663fb1227c1c00a9e1d102def7f8984401 (diff) | |
download | pkgsrc-bb93424250ea0dca9ad0e79857fe9e1b729d41b1.tar.gz |
Fix the dependencies of the kgb-bot package and add an init script. Bump
pkg_revision.
Diffstat (limited to 'chat/kgb-bot/files')
-rw-r--r-- | chat/kgb-bot/files/kgb_bot.sh | 16 |
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" |