mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
nagios_nrpe: Backup configuration before update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
1
config/backup/includes/nagios_nrpe
Normal file
1
config/backup/includes/nagios_nrpe
Normal file
@@ -0,0 +1 @@
|
||||
/etc/nagios/nrpe.cfg
|
||||
@@ -6,3 +6,4 @@ etc/rc.d/init.d/nrpe
|
||||
usr/bin/nrpe
|
||||
#usr/lib/nagios
|
||||
usr/lib/nagios/check_nrpe
|
||||
var/ipfire/backup/addons/includes/nagios_nrpe
|
||||
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = nagios_nrpe
|
||||
PAK_VER = 7
|
||||
PAK_VER = 8
|
||||
|
||||
DEPS = nagios-plugins
|
||||
|
||||
@@ -96,5 +96,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# install initscript
|
||||
$(call INSTALL_INITSCRIPT,nrpe)
|
||||
|
||||
install -v -m 644 ${DIR_SRC}/config/backup/includes/nagios_nrpe \
|
||||
/var/ipfire/backup/addons/includes/nagios_nrpe
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user