aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mu-conference
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2008-04-30 22:03:30 +0800
committermm <mm@FreeBSD.org>2008-04-30 22:03:30 +0800
commitf21927ac6daf368aea6f616895dc47dfaaf6d860 (patch)
tree6ade1a737f55a1d1e04c5ba58150eb27a496d2d0 /net-im/mu-conference
parent8b65c440c07afab142f7bf60ed1cd01e604bc642 (diff)
downloadfreebsd-ports-gnome-f21927ac6daf368aea6f616895dc47dfaaf6d860.tar.gz
freebsd-ports-gnome-f21927ac6daf368aea6f616895dc47dfaaf6d860.tar.zst
freebsd-ports-gnome-f21927ac6daf368aea6f616895dc47dfaaf6d860.zip
- fix pidfile variable for rc
PR: ports/123254 Submitted by: Ruben van Staveren <ruben@verweg.com> Approved by: mm (maintainer)
Diffstat (limited to 'net-im/mu-conference')
-rw-r--r--net-im/mu-conference/Makefile2
-rw-r--r--net-im/mu-conference/files/mu-conference.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile
index 1d93f0665f59..fcce0c775005 100644
--- a/net-im/mu-conference/Makefile
+++ b/net-im/mu-conference/Makefile
@@ -6,7 +6,7 @@
PORTNAME= mu-conference
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://download.gna.org/mu-conference/
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/net-im/mu-conference/files/mu-conference.in b/net-im/mu-conference/files/mu-conference.in
index dcea13b2c5fd..a2fe586b2b94 100644
--- a/net-im/mu-conference/files/mu-conference.in
+++ b/net-im/mu-conference/files/mu-conference.in
@@ -25,7 +25,6 @@ name="mu_conference"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/mu-conference"
-pidfile=${mu_conference_pidfile:-"%%JABBER_PIDDIR%%/mu-conference.pid"}
stop_postcmd="mu_conference_stop_post"
@@ -38,7 +37,9 @@ load_rc_config $name
: ${mu_conference_config="%%PREFIX%%/etc/muc.xml"}
: ${mu_conference_enable="NO"}
: ${mu_conference_user="%%JABBER_USER%%"}
+: ${mu_conference_pidfile="%%JABBER_PIDDIR%%/mu-conference.pid"}
+pidfile=${mu_conference_pidfile}
command_args="-c ${mu_conference_config} -B >/dev/null 2>&1"
run_rc_command "$1"