From d875ded97fbad789a04d8c58a031d706b4f7af6c Mon Sep 17 00:00:00 2001 From: Rodrigo Osorio Date: Sun, 5 Jul 2015 08:13:10 +0000 Subject: [PATCH] Fix previous mistake in the init script, committed with minor changes PR: 200851 --- net-mgmt/smokeping/Makefile | 2 +- net-mgmt/smokeping/files/smokeping.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile index 5baf336bf648..992568fe3418 100644 --- a/net-mgmt/smokeping/Makefile +++ b/net-mgmt/smokeping/Makefile @@ -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/ diff --git a/net-mgmt/smokeping/files/smokeping.in b/net-mgmt/smokeping/files/smokeping.in index c0b0a7d8c291..81ffec01a249 100644 --- a/net-mgmt/smokeping/files/smokeping.in +++ b/net-mgmt/smokeping/files/smokeping.in @@ -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()