[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: fix creation of checkresult and rw dir and make install-commandmode

git at icinga.org git at icinga.org
Mon Apr 11 19:15:54 CEST 2011


Module: icinga-core
Branch: mfriedrich/core
Commit: ac185f41bd4066c9adff7ea79d58d24ef148b5c7
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=ac185f41bd4066c9adff7ea79d58d24ef148b5c7

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Apr 11 19:15:23 2011 +0200

fix creation of checkresult and rw dir and make install-commandmode

---

 Makefile.in |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 62b16ba..2f729fe 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -379,6 +379,8 @@ install-basic:
 	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)
 	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/archives
 	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(SPOOLDIR)
+	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(SPOOLDIR)/checkresults
+	$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(SPOOLDIR)/rw
 	if [ $(INSTALLPERLSTUFF) = yes ]; then \
 		$(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
 	fi;
@@ -485,8 +487,8 @@ install-daemoninit:
 
 
 install-commandmode:
-	$(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw
-	chmod g+s $(DESTDIR)$(LOGDIR)/rw
+	$(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(SPOOLDIR)/rw
+	chmod g+s $(DESTDIR)$(SPOOLDIR)/rw
 
 	@echo ""
 	@echo "*** External command directory configured ***"





More information about the icinga-checkins mailing list