syslog-ng: add customization directory
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
parent
237b77002c
commit
07a6e8bc73
3 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=syslog-ng
|
PKG_NAME:=syslog-ng
|
||||||
PKG_VERSION:=3.9.1
|
PKG_VERSION:=3.9.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||||
|
|
||||||
|
@ -30,7 +30,8 @@ define Package/syslog-ng/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/syslog-ng/conffiles
|
define Package/syslog-ng/conffiles
|
||||||
/etc/syslog-ng.conf
|
/etc/syslog-ng.conf
|
||||||
|
/etc/syslog-ng.d/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
@ -68,8 +69,8 @@ define Package/syslog-ng/install
|
||||||
install-moduleLTLIBRARIES DESTDIR="$(1)"
|
install-moduleLTLIBRARIES DESTDIR="$(1)"
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
|
$(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
|
||||||
$(INSTALL_DIR) $(1)/etc
|
|
||||||
$(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
|
$(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
|
||||||
|
$(INSTALL_DIR) $(1)/etc/syslog-ng.d/
|
||||||
$(call libtool_remove_files,$(1))
|
$(call libtool_remove_files,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# place to put customization of logging
|
|
||||||
|
|
|
@ -36,5 +36,6 @@ log {
|
||||||
destination(messages);
|
destination(messages);
|
||||||
};
|
};
|
||||||
|
|
||||||
@include "/etc/custom-logs.conf"
|
# put any customization files in this directory
|
||||||
|
@include "/etc/syslog-ng.d/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue