summaryrefslogtreecommitdiff
path: root/chat/jabberd2/files/c2s.sh
diff options
context:
space:
mode:
authorgdt <gdt>2017-01-06 01:52:20 +0000
committergdt <gdt>2017-01-06 01:52:20 +0000
commit373cf671c2f177c79ea56ee9c4067d4fb9251730 (patch)
treebaba872485ab614c52e794cb8db4f5f32a5eee3a /chat/jabberd2/files/c2s.sh
parent9a3576874c1ecef0af09ac98e29dd5e6a89ceba2 (diff)
downloadpkgsrc-373cf671c2f177c79ea56ee9c4067d4fb9251730.tar.gz
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 (limited to 'chat/jabberd2/files/c2s.sh')
-rwxr-xr-xchat/jabberd2/files/c2s.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/jabberd2/files/c2s.sh b/chat/jabberd2/files/c2s.sh
index d5879d2dbef..ee10abcdf80 100755
--- a/chat/jabberd2/files/c2s.sh
+++ b/chat/jabberd2/files/c2s.sh
@@ -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