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()