diff options
author | mat <mat@FreeBSD.org> | 2018-09-07 22:46:19 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-09-07 22:46:19 +0800 |
commit | 59bf3e099df7bc170889324f0d55a83a520469b8 (patch) | |
tree | 52e36563a7ad0a154f28ec960cf8168719b88536 /sysutils/munin-node | |
parent | 7515e032b07f7521697fe2c0def2cdd10cce9f0e (diff) | |
download | freebsd-ports-gnome-59bf3e099df7bc170889324f0d55a83a520469b8.tar.gz freebsd-ports-gnome-59bf3e099df7bc170889324f0d55a83a520469b8.tar.zst freebsd-ports-gnome-59bf3e099df7bc170889324f0d55a83a520469b8.zip |
Fix service munin-asyncd status.
PR: 231056
Reported by: gerrit kuehn aei mpg de
MFH: 2018Q3
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r-- | sysutils/munin-node/Makefile | 2 | ||||
-rw-r--r-- | sysutils/munin-node/files/munin-asyncd.in | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index d4910dfe8787..7570f115774e 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -3,7 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} -PORTREVISION= 0 +PORTREVISION= 1 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 |