Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2018 14:46:19 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479194 - in head/sysutils/munin-node: . files
Message-ID:  <201809071446.w87EkJjC067485@repo.freebsd.org>

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

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

Modified:
  head/sysutils/munin-node/Makefile   (contents, props changed)
  head/sysutils/munin-node/files/munin-asyncd.in   (contents, props changed)

Modified: head/sysutils/munin-node/Makefile
==============================================================================
--- head/sysutils/munin-node/Makefile	Fri Sep  7 14:12:29 2018	(r479193)
+++ head/sysutils/munin-node/Makefile	Fri Sep  7 14:46:19 2018	(r479194)
@@ -3,7 +3,7 @@
 
 PORTNAME=	munin
 PORTVERSION=	${MUNIN_VERSION}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	${MUNIN_SITES}
 PKGNAMESUFFIX=	-node

Modified: head/sysutils/munin-node/files/munin-asyncd.in
==============================================================================
--- head/sysutils/munin-node/files/munin-asyncd.in	Fri Sep  7 14:12:29 2018	(r479193)
+++ head/sysutils/munin-node/files/munin-asyncd.in	Fri Sep  7 14:46:19 2018	(r479194)
@@ -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?201809071446.w87EkJjC067485>