From 02029f4281388dd8435390389b916b5edd3fb8b5 Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 8 Jul 2004 22:26:04 +0000 Subject: Update mu-conference to 0.6.0nb2: > /dev/null 2>&1, not 2>&1 > /dev/null --- chat/mu-conference/Makefile | 4 ++-- chat/mu-conference/files/muc.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chat/mu-conference') diff --git a/chat/mu-conference/Makefile b/chat/mu-conference/Makefile index 9b36bbbe1fc..1c03435a0e2 100644 --- a/chat/mu-conference/Makefile +++ b/chat/mu-conference/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2004/06/30 10:02:57 abs Exp $ +# $NetBSD: Makefile,v 1.3 2004/07/08 22:26:04 abs Exp $ # DISTNAME= mu-conference-0.6.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= chat MASTER_SITES= http://jabber.terrapin.com/JCR/ http://www.jabberstudio.org/projects/mu-conference/releases/download.php?file= DISTFILES= ${DISTNAME}.tar.gz jcr-0.1.2.tar.gz diff --git a/chat/mu-conference/files/muc.sh b/chat/mu-conference/files/muc.sh index 3c3d9f28b30..237baa27b33 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.1.1.1 2004/06/26 14:28:09 abs Exp $ +# $NetBSD: muc.sh,v 1.2 2004/07/08 22:26:04 abs Exp $ # # PROVIDE: muc # REQUIRE: DAEMON @@ -14,7 +14,7 @@ rcvar=$name command="@PREFIX@/bin/mu-conference" required_files="@PKG_SYSCONFDIR@/${name}-jcr.xml" extra_commands="reload" -command_args="-c ${required_files} 2>&1 > /dev/null &" +command_args="-c ${required_files} > /dev/null 2>&1 &" pidfile="@JABBERD_PIDDIR@/${name}.pid" stop_postcmd="remove_pidfile" start_precmd="ensure_piddir" @@ -27,8 +27,8 @@ ensure_piddir() remove_pidfile() { - if [ -f @JABBERD_PIDDIR@/${name}.pid ]; then - rm -f @JABBERD_PIDDIR@/${name}.pid + if [ -f $pidfile ]; then + rm -f $pidfile fi } -- cgit v1.2.3