diff options
author | brix <brix@FreeBSD.org> | 2009-09-22 02:29:16 +0800 |
---|---|---|
committer | brix <brix@FreeBSD.org> | 2009-09-22 02:29:16 +0800 |
commit | d8f2e8ab22b0aecf50581f66e900ec2512214ccc (patch) | |
tree | eddf11f2d6e074f243830696c9f588ce5ea09918 /irc/bitlbee | |
parent | c28df29bf90e393d446d46b29f5a2c69b8f71559 (diff) | |
download | freebsd-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/Makefile | 2 | ||||
-rw-r--r-- | irc/bitlbee/files/bitlbee.in | 10 |
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" |