svn commit: r389609 - in head/net-mgmt/smokeping: . files

Rodrigo Osorio rodrigo at FreeBSD.org
Sun Jun 14 09:16:58 UTC 2015


Author: rodrigo
Date: Sun Jun 14 09:16:57 2015
New Revision: 389609
URL: https://svnweb.freebsd.org/changeset/ports/389609

Log:
  Fix smokeping rc.d script who fails to check pid correctly
  
  PR:		198736
  Submitted by:	vince at unsane.co.uk

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

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Sun Jun 14 09:14:40 2015	(r389608)
+++ head/net-mgmt/smokeping/Makefile	Sun Jun 14 09:16:57 2015	(r389609)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.11
-PORTREVISION=	1
+PORTREVISION=	2
 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	Sun Jun 14 09:14:40 2015	(r389608)
+++ head/net-mgmt/smokeping/files/smokeping.in	Sun Jun 14 09:16:57 2015	(r389609)
@@ -51,7 +51,7 @@ smokeping_startprecmd()
 
 smokeping_status()
 {
-	rc_pid=$(check_pidfile $pidfile $command)
+	rc_pid=$(check_pidfile $pidfile $command $command_interpreter)
 	if [ -z "$rc_pid" ]; then
 		_run_rc_notrunning
 	else
@@ -71,7 +71,7 @@ smokeping_reload()
 
 smokeping_stop()
 {
-	rc_pid=$(check_pidfile $pidfile $command)
+	rc_pid=$(check_pidfile $pidfile $command $command_interpreter)
 	if [ -z "$rc_pid" ]; then
 		_run_rc_notrunning
 	else


More information about the svn-ports-all mailing list