aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-04-19 05:47:37 +0800
committerflo <flo@FreeBSD.org>2013-04-19 05:47:37 +0800
commit1f49bd2182e77e722247a77b014e5c9fb3fc4027 (patch)
tree3ea7896796d38f5116b25f405966835525d3e4eb /sysutils/munin-node
parent1e04ec44d0e39e804dbc2ab5ba1662db470ed74d (diff)
downloadfreebsd-ports-gnome-1f49bd2182e77e722247a77b014e5c9fb3fc4027.tar.gz
freebsd-ports-gnome-1f49bd2182e77e722247a77b014e5c9fb3fc4027.tar.zst
freebsd-ports-gnome-1f49bd2182e77e722247a77b014e5c9fb3fc4027.zip
Fix munin-sched rc script
PR: ports/177950 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Feature safe: yes
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile1
-rw-r--r--sysutils/munin-node/files/munin-sched.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index c17fa52de9a8..e19a76498c07 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -3,6 +3,7 @@
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -node
diff --git a/sysutils/munin-node/files/munin-sched.in b/sysutils/munin-node/files/munin-sched.in
index e866e79ef729..c88ad6ab3d0f 100644
--- a/sysutils/munin-node/files/munin-sched.in
+++ b/sysutils/munin-node/files/munin-sched.in
@@ -31,7 +31,7 @@ stop_precmd=find_pidfile
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