Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 08:34:08 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500398 - in head/security: tinc-devel/files tinc/files
Message-ID:  <201904290834.x3T8Y8Qd030270@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Apr 29 08:34:08 2019
New Revision: 500398
URL: https://svnweb.freebsd.org/changeset/ports/500398

Log:
  - fix restart when shutdown is slow
  PR:		228357
  Reported by:	CUI Hao

Modified:
  head/security/tinc-devel/files/tincd.in
  head/security/tinc/files/tincd.in

Modified: head/security/tinc-devel/files/tincd.in
==============================================================================
--- head/security/tinc-devel/files/tincd.in	Mon Apr 29 08:08:45 2019	(r500397)
+++ head/security/tinc-devel/files/tincd.in	Mon Apr 29 08:34:08 2019	(r500398)
@@ -69,6 +69,7 @@ tincd_stop()
 			$command -n $cfg stop
 		done
 	fi
+	wait_for_pids $rc_pid
 }
 tincd_reload()
 {

Modified: head/security/tinc/files/tincd.in
==============================================================================
--- head/security/tinc/files/tincd.in	Mon Apr 29 08:08:45 2019	(r500397)
+++ head/security/tinc/files/tincd.in	Mon Apr 29 08:34:08 2019	(r500398)
@@ -69,6 +69,7 @@ tincd_stop()
 			$command -n $cfg -k
 		done
 	fi
+	wait_for_pids $rc_pid
 }
 tincd_reload()
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904290834.x3T8Y8Qd030270>