From 69d8673de90d719ba94ca45ee3c3ec1b806c233b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 24 Jul 2017 13:08:26 +0200 Subject: [PATCH] net-mgmt/collectd: fix template reload in service controller #207 --- net-mgmt/collectd/Makefile | 2 +- .../app/controllers/OPNsense/Collectd/Api/ServiceController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/collectd/Makefile b/net-mgmt/collectd/Makefile index a27156cdc..8b8b78ffb 100644 --- a/net-mgmt/collectd/Makefile +++ b/net-mgmt/collectd/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= collectd PLUGIN_VERSION= 0.2 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_COMMENT= Collect system and application performance metrics periodically PLUGIN_DEPENDS= collectd5 PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/net-mgmt/collectd/src/opnsense/mvc/app/controllers/OPNsense/Collectd/Api/ServiceController.php b/net-mgmt/collectd/src/opnsense/mvc/app/controllers/OPNsense/Collectd/Api/ServiceController.php index 14538d355..6ae1bb15c 100644 --- a/net-mgmt/collectd/src/opnsense/mvc/app/controllers/OPNsense/Collectd/Api/ServiceController.php +++ b/net-mgmt/collectd/src/opnsense/mvc/app/controllers/OPNsense/Collectd/Api/ServiceController.php @@ -133,7 +133,7 @@ class ServiceController extends ApiControllerBase $this->stopAction(); // generate template - $backend->configdRun('template reload OPNsense/collectd'); + $backend->configdRun('template reload OPNsense/Collectd'); // (res)start daemon if ($mdlGeneral->enabled->__toString() == 1) {