mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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 <jo@mein.io>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=collectd
|
PKG_NAME:=collectd
|
||||||
PKG_VERSION:=5.5.1
|
PKG_VERSION:=5.5.1
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://collectd.org/files/
|
PKG_SOURCE_URL:=http://collectd.org/files/
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ STOP=10
|
|||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
mkdir -m 0755 -p /var/lib/collectd
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command /usr/sbin/collectd -f
|
procd_set_param command /usr/sbin/collectd -f
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
|
|||||||
Reference in New Issue
Block a user