mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
muninlite: add /etc/munin to conffiles and install muninlite.conf
The entire /etc/munin should be backed up as it includes user configuration for custom plugins and the muninlite.conf config file which is useful to override the default NTP server. Also we install muninlite.conf to /etc/munin/. Signed-off-by: Rany Hany <rany_hany@riseup.net>
This commit is contained in:
committed by
Josef Schlehofer
parent
b7974fb6d2
commit
4f0758ba36
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=muninlite
|
||||
PKG_VERSION:=2.1.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/munin-monitoring/$(PKG_NAME)/releases/download/$(PKG_VERSION)/
|
||||
@@ -37,12 +37,14 @@ endef
|
||||
define Package/muninlite/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc/munin/plugins
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/muninlite.conf $(1)/etc/munin/
|
||||
$(INSTALL_DIR) $(1)/etc/xinetd.d
|
||||
$(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/
|
||||
$(INSTALL_DIR) $(1)/etc/munin/plugins
|
||||
endef
|
||||
|
||||
define Package/muninlite/conffiles
|
||||
/etc/munin/
|
||||
/etc/xinetd.d/muninlite
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user