aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-07 14:47:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-07 14:47:48 +0000
commit2fa3864585ef98889a1fc7cf9ad806f4cd0032c0 (patch)
tree127e7885c9ac77bd8d376fa9798711c9deff1755
parent3c275daefb19070ec54d30da191f57af639bf8ba (diff)
downloadports-2fa3864585ef98889a1fc7cf9ad806f4cd0032c0.tar.gz
ports-2fa3864585ef98889a1fc7cf9ad806f4cd0032c0.zip
MFH: r479194
Fix service munin-asyncd status. PR: 231056 Reported by: gerrit kuehn aei mpg de
Notes
Notes: svn path=/branches/2018Q3/; revision=479195
-rw-r--r--sysutils/munin-node/Makefile2
-rw-r--r--sysutils/munin-node/files/munin-asyncd.in3
2 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index c98f982af3b4..f1f61bf9242c 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -3,7 +3,7 @@
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils perl5
MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -node
diff --git a/sysutils/munin-node/files/munin-asyncd.in b/sysutils/munin-node/files/munin-asyncd.in
index a9eb2e95f258..433b329cb70a 100644
--- a/sysutils/munin-node/files/munin-asyncd.in
+++ b/sysutils/munin-node/files/munin-asyncd.in
@@ -27,7 +27,6 @@ rcvar=munin_asyncd_enable
load_rc_config $name
command="%%DATADIR%%/munin-asyncd"
-command_interpreter="%%LOCALBASE%%/bin/perl"
pidfile="/var/run/${name}.pid"
start_cmd=start_cmd
stop_cmd='pkill -${sig_stop:-TERM} -U %%USER%% -F ${pidfile}'
@@ -39,7 +38,7 @@ munin_asyncd_host=${munin_asyncd_host:-localhost:4949}
start_cmd()
{
check_startmsgs && echo "Starting ${name}."
- daemon -u %%USER%% -f -p ${pidfile} ${command_interpreter} ${command} --spool ${munin_asyncd_spool} --host ${munin_asyncd_host} ${munin_asyncd_args}
+ daemon -u %%USER%% -f -p ${pidfile} "%%LOCALBASE%%/bin/perl" ${command} --spool ${munin_asyncd_spool} --host ${munin_asyncd_host} ${munin_asyncd_args}
}
run_rc_command $1