aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee/files/bitlbee.in
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bitlbee/files/bitlbee.in')
-rw-r--r--irc/bitlbee/files/bitlbee.in10
1 files changed, 2 insertions, 8 deletions
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"