Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2018 14:47:48 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r479195 - in branches/2018Q3/sysutils/munin-node: . files
Message-ID:  <201809071447.w87ElmAF067699@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Sep  7 14:47:48 2018
New Revision: 479195
URL: https://svnweb.freebsd.org/changeset/ports/479195

Log:
  MFH: r479194
  
  Fix service munin-asyncd status.
  
  PR:		231056
  Reported by:	gerrit kuehn aei mpg de

Modified:
  branches/2018Q3/sysutils/munin-node/Makefile
  branches/2018Q3/sysutils/munin-node/files/munin-asyncd.in
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/sysutils/munin-node/Makefile
==============================================================================
--- branches/2018Q3/sysutils/munin-node/Makefile	Fri Sep  7 14:46:19 2018	(r479194)
+++ branches/2018Q3/sysutils/munin-node/Makefile	Fri Sep  7 14:47:48 2018	(r479195)
@@ -3,7 +3,7 @@
 
 PORTNAME=	munin
 PORTVERSION=	${MUNIN_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	${MUNIN_SITES}
 PKGNAMESUFFIX=	-node

Modified: branches/2018Q3/sysutils/munin-node/files/munin-asyncd.in
==============================================================================
--- branches/2018Q3/sysutils/munin-node/files/munin-asyncd.in	Fri Sep  7 14:46:19 2018	(r479194)
+++ branches/2018Q3/sysutils/munin-node/files/munin-asyncd.in	Fri Sep  7 14:47:48 2018	(r479195)
@@ -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



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