aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2009-09-22 02:29:16 +0800
committerbrix <brix@FreeBSD.org>2009-09-22 02:29:16 +0800
commitd8f2e8ab22b0aecf50581f66e900ec2512214ccc (patch)
treeeddf11f2d6e074f243830696c9f588ce5ea09918 /irc/bitlbee
parentc28df29bf90e393d446d46b29f5a2c69b8f71559 (diff)
downloadfreebsd-ports-gnome-d8f2e8ab22b0aecf50581f66e900ec2512214ccc.tar.gz
freebsd-ports-gnome-d8f2e8ab22b0aecf50581f66e900ec2512214ccc.tar.zst
freebsd-ports-gnome-d8f2e8ab22b0aecf50581f66e900ec2512214ccc.zip
- Simplify RC script
Submitted by: dougb@ Feature safe: yes
Diffstat (limited to 'irc/bitlbee')
-rw-r--r--irc/bitlbee/Makefile2
-rw-r--r--irc/bitlbee/files/bitlbee.in10
2 files changed, 3 insertions, 9 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 5e7fe88afa80..a92e0d0c4e45 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bitlbee
PORTVERSION= 1.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
${MASTER_SITE_LOCAL}
diff --git a/irc/bitlbee/files/bitlbee.in b/irc/bitlbee/files/bitlbee.in
index b8cc97636350..b53c8adef9c9 100644
--- a/irc/bitlbee/files/bitlbee.in
+++ b/irc/bitlbee/files/bitlbee.in
@@ -3,7 +3,7 @@
# $FreeBSD$
#
# PROVIDE: bitlbee
-# REQUIRE: DAEMON
+# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable bitlbee:
@@ -23,12 +23,6 @@ load_rc_config $name
required_files="${bitlbee_config}"
command="%%PREFIX%%/sbin/bitlbee"
-start_cmd="bitlbee_start"
-
-bitlbee_start()
-{
- echo "Starting ${name}."
- ${command} -D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}
-}
+command_args="-D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}"
run_rc_command "$1"