diff options
author | abs <abs@pkgsrc.org> | 2004-07-08 22:26:04 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-07-08 22:26:04 +0000 |
commit | 883e3255d4c40a099069f47149bc81acd1ac1021 (patch) | |
tree | a30bfdde222bc068a94d1f19fa6955401e254b0a /chat | |
parent | 3a34670838fc67fde85a849cffc7ebba3a3248db (diff) | |
download | pkgsrc-883e3255d4c40a099069f47149bc81acd1ac1021.tar.gz |
Update mu-conference to 0.6.0nb2: > /dev/null 2>&1, not 2>&1 > /dev/null
Diffstat (limited to 'chat')
-rw-r--r-- | chat/mu-conference/Makefile | 4 | ||||
-rw-r--r-- | chat/mu-conference/files/muc.sh | 8 |
2 files changed, 6 insertions, 6 deletions
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 } |