summaryrefslogtreecommitdiff
path: root/chat/mu-conference/files
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-08-21 15:30:31 +0000
committerabs <abs@pkgsrc.org>2007-08-21 15:30:31 +0000
commit26b06cbec8e482d2a29794730d8a11fee7efc058 (patch)
treeee2ca615579d3ca53914e783147413450f22fe4b /chat/mu-conference/files
parent7d9f472d217b335dab1dce359a605da81c134fb7 (diff)
downloadpkgsrc-26b06cbec8e482d2a29794730d8a11fee7efc058.tar.gz
Update to mu-conference-0.6.0nb6
- mu-conference's rc.d script doesn't get the user/pid-file right, and does not set the runtime user From: PR#28600 by Eric Schnoebelen
Diffstat (limited to 'chat/mu-conference/files')
-rw-r--r--chat/mu-conference/files/muc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/chat/mu-conference/files/muc.sh b/chat/mu-conference/files/muc.sh
index 237baa27b33..323ee581658 100644
--- a/chat/mu-conference/files/muc.sh
+++ b/chat/mu-conference/files/muc.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: muc.sh,v 1.2 2004/07/08 22:26:04 abs Exp $
+# $NetBSD: muc.sh,v 1.3 2007/08/21 15:30:32 abs Exp $
#
# PROVIDE: muc
# REQUIRE: DAEMON
@@ -14,8 +14,9 @@ rcvar=$name
command="@PREFIX@/bin/mu-conference"
required_files="@PKG_SYSCONFDIR@/${name}-jcr.xml"
extra_commands="reload"
+muc_user="@JABBERD_USER@"
command_args="-c ${required_files} > /dev/null 2>&1 &"
-pidfile="@JABBERD_PIDDIR@/${name}.pid"
+pidfile="@JABBERD_PIDDIR@/`basename ${command}`.pid"
stop_postcmd="remove_pidfile"
start_precmd="ensure_piddir"