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

Rodrigo Osorio rodrigo at FreeBSD.org
Sun Jul 5 08:13:11 UTC 2015


Author: rodrigo
Date: Sun Jul  5 08:13:10 2015
New Revision: 391348
URL: https://svnweb.freebsd.org/changeset/ports/391348

Log:
  Fix previous mistake in the init script, committed with minor changes
  
  PR:		200851

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 Jul  5 07:50:06 2015	(r391347)
+++ head/net-mgmt/smokeping/Makefile	Sun Jul  5 08:13:10 2015	(r391348)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.11
-PORTREVISION=	3
+PORTREVISION=	4
 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 Jul  5 07:50:06 2015	(r391347)
+++ head/net-mgmt/smokeping/files/smokeping.in	Sun Jul  5 08:13:10 2015	(r391348)
@@ -65,7 +65,7 @@ smokeping_start()
 	fi
 
 	echo "Starting ${name}."
-	${command} ${smokeping_flags} ${command_args}
+	su -m ${smokeping_user} -c "sh -c '${command} ${smokeping_flags} ${command_args}'"
 }
 
 smokeping_status()


More information about the svn-ports-all mailing list