Date: Thu, 18 Apr 2013 11:21:40 +0200 (CEST) From: Geoffroy Desvernay <dgeo@centrale-marseille.fr> To: FreeBSD-gnats-submit@freebsd.org Cc: flo@FreeBSD.org Subject: ports/177950: [PATCH] sysutils/munin-node: fix startup script Message-ID: <20130418092140.99C5F1CCF0@dgeo.sysadm.ec-m.fr> Resent-Message-ID: <201304180930.r3I9U0Kx000832@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177950 >Category: ports >Synopsis: [PATCH] sysutils/munin-node: fix startup script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 18 09:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Geoffroy Desvernay >Release: FreeBSD 9.1-RELEASE amd64 >Organization: Ecole Centrale de Marseille >Environment: System: FreeBSD dgeo.sysadm.ec-m.fr 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue Dec 18 11:55:35 CET 2012 >Description: "service munin-sched (start|stop|restat|...)" fails with a syntax error because $munin_node_config is not defined... (but $munin_sched_config is) Port maintainer (flo@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: SVN) >How-To-Repeat: try to use munin-sched... >Fix: attached --- munin-node-2.0.11.1.patch begins here --- Index: files/munin-sched.in =================================================================== --- files/munin-sched.in (revision 316024) +++ files/munin-sched.in (working copy) @@ -31,7 +31,7 @@ find_pidfile() { if type get_pidfile_from_conf >/dev/null 2>&1 && - get_pidfile_from_conf pid_file $munin_node_config; then + get_pidfile_from_conf pid_file $munin_sched_config; then pidfile="${_pidfile_from_conf%node*}sched" pidfile="${pidfile}${_pidfile_from_conf#*node}" else --- munin-node-2.0.11.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130418092140.99C5F1CCF0>