summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"