Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2017 22:15:03 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447003 - in head/net-mgmt/smokeping: . files
Message-ID:  <201707312215.v6VMF3pE068857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Mon Jul 31 22:15:03 2017
New Revision: 447003
URL: https://svnweb.freebsd.org/changeset/ports/447003

Log:
  Add a wait_for_pids at the end of the rc script stop function, waiting for the
  daemon to stops. With smokeping busy pinging a few hundred hosts it often occurs
  that the daemon stops after the rc call completion failing a restart.
  Bump PORTREVISION.
  
  PR:		221009
  Submitted by:	vegeta@tuxpowered.net

Modified:
  head/net-mgmt/smokeping/Makefile
  head/net-mgmt/smokeping/files/smokeping.in

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Mon Jul 31 22:09:32 2017	(r447002)
+++ head/net-mgmt/smokeping/Makefile	Mon Jul 31 22:15:03 2017	(r447003)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.11
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://oss.oetiker.ch/smokeping/pub/ \
 		http://smokeping.cs.pu.edu.tw/pub/

Modified: head/net-mgmt/smokeping/files/smokeping.in
==============================================================================
--- head/net-mgmt/smokeping/files/smokeping.in	Mon Jul 31 22:09:32 2017	(r447002)
+++ head/net-mgmt/smokeping/files/smokeping.in	Mon Jul 31 22:15:03 2017	(r447003)
@@ -104,6 +104,7 @@ smokeping_stop()
 	else
 		echo "Stopping ${name}."
 		kill -TERM $rc_pid
+		wait_for_pids $rc_pid
 	fi
 }
 



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