mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Simplify RC script
Submitted by: dougb@ Feature safe: yes
This commit is contained in:
parent
396f589e5c
commit
02bedc3a76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241886
@ -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}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user