pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/jabberd2/files Change sub-daemon start order
details: https://anonhg.NetBSD.org/pkgsrc/rev/1141e2c6c3d6
branches: trunk
changeset: 356866:1141e2c6c3d6
user: gdt <gdt%pkgsrc.org@localhost>
date: Fri Jan 06 01:52:20 2017 +0000
description:
Change sub-daemon start order
Drop dependency of router, sm, s2s on c2s. This did not make sense --
none of them care if c2s runs.
c2s, s2s, and sm all connect to router. So make them depend on
router, even though in theory they should retry.
Make c2s depend on sm, because if someone tries to log in before sm is
running, they will get a failure, and some clients do not retry
correctly. Getting ECONNREFUSED connecting to c2s is more likely to
be handled correctly.
No PKGREVISION; riding the impending update.
(Tested on netbsd-6 i386 in a domU.)
diffstat:
chat/jabberd2/files/c2s.sh | 4 ++--
chat/jabberd2/files/router.sh | 4 ++--
chat/jabberd2/files/s2s.sh | 4 ++--
chat/jabberd2/files/sm.sh | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (60 lines):
diff -r b2f05c6edf54 -r 1141e2c6c3d6 chat/jabberd2/files/c2s.sh
--- a/chat/jabberd2/files/c2s.sh Thu Jan 05 23:16:42 2017 +0000
+++ b/chat/jabberd2/files/c2s.sh Fri Jan 06 01:52:20 2017 +0000
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: c2s.sh,v 1.4 2010/06/10 10:36:22 adam Exp $
+# $NetBSD: c2s.sh,v 1.5 2017/01/06 01:52:20 gdt Exp $
#
# PROVIDE: c2s
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON router sm
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
diff -r b2f05c6edf54 -r 1141e2c6c3d6 chat/jabberd2/files/router.sh
--- a/chat/jabberd2/files/router.sh Thu Jan 05 23:16:42 2017 +0000
+++ b/chat/jabberd2/files/router.sh Fri Jan 06 01:52:20 2017 +0000
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: router.sh,v 1.2 2004/06/26 11:21:46 abs Exp $
+# $NetBSD: router.sh,v 1.3 2017/01/06 01:52:20 gdt Exp $
#
# PROVIDE: router
-# REQUIRE: DAEMON c2s
+# REQUIRE: DAEMON
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
diff -r b2f05c6edf54 -r 1141e2c6c3d6 chat/jabberd2/files/s2s.sh
--- a/chat/jabberd2/files/s2s.sh Thu Jan 05 23:16:42 2017 +0000
+++ b/chat/jabberd2/files/s2s.sh Fri Jan 06 01:52:20 2017 +0000
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: s2s.sh,v 1.2 2004/06/26 11:21:46 abs Exp $
+# $NetBSD: s2s.sh,v 1.3 2017/01/06 01:52:20 gdt Exp $
#
# PROVIDE: s2s
-# REQUIRE: DAEMON c2s
+# REQUIRE: DAEMON router
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
diff -r b2f05c6edf54 -r 1141e2c6c3d6 chat/jabberd2/files/sm.sh
--- a/chat/jabberd2/files/sm.sh Thu Jan 05 23:16:42 2017 +0000
+++ b/chat/jabberd2/files/sm.sh Fri Jan 06 01:52:20 2017 +0000
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: sm.sh,v 1.4 2009/08/21 02:28:12 schnoebe Exp $
+# $NetBSD: sm.sh,v 1.5 2017/01/06 01:52:20 gdt Exp $
#
# PROVIDE: sm
-# REQUIRE: DAEMON c2s
+# REQUIRE: DAEMON router
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
Home |
Main Index |
Thread Index |
Old Index