Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 08:13:10 +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: r391348 - in head/net-mgmt/smokeping: . files
Message-ID:  <201507050813.t658DBxD057421@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



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