summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-04-30 14:03:30 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-04-30 14:03:30 +0000
commitfef3cacda4c3414fb893577b77e56e409e94d376 (patch)
tree7fd70752dcb229c029f24bad6190cb6cef2b5c17 /net-im
parentUpdate to 0.09 (diff)
- fix pidfile variable for rc
PR: ports/123254 Submitted by: Ruben van Staveren <ruben@verweg.com> Approved by: mm (maintainer)
Notes
Notes: svn path=/head/; revision=212365
Diffstat (limited to 'net-im')
-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"