From ea01eccee03b9e1b5673a5351b0927d3f743c075 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 Apr 2016 21:45:36 +0200 Subject: [PATCH] collectd: ensure that /var/lib/collectd exists With the conversion to procd a required mkdir has been dropped, readd it. Signed-off-by: Jo-Philipp Wich --- utils/collectd/Makefile | 2 +- utils/collectd/files/collectd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 5a808dd23..ee292bf15 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.5.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://collectd.org/files/ diff --git a/utils/collectd/files/collectd.init b/utils/collectd/files/collectd.init index c9afdee8d..cb314d351 100644 --- a/utils/collectd/files/collectd.init +++ b/utils/collectd/files/collectd.init @@ -7,6 +7,7 @@ STOP=10 USE_PROCD=1 start_service() { + mkdir -m 0755 -p /var/lib/collectd procd_open_instance procd_set_param command /usr/sbin/collectd -f procd_close_instance