[omd-commits] OMD Git: omd: gearman: fixed logfile path

git version control git at mathias-kettner.de
Thu Jul 19 14:46:49 CEST 2012


Module:   omd
Branch:   master
Commit:   13309e39fae4d4b2e3b1fc4386eaa2304db1a715
URL:      http://omdistro.org/projects/omd/repository/revisions/13309e39fae4d4b2e3b1fc4386eaa2304db1a715

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Thu Jul 19 14:35:05 2012 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Thu Jul 19 14:35:05 2012 +0200

gearman: fixed logfile path

---

 packages/gearmand/Makefile    |    2 ++
 packages/mod-gearman/Makefile |    4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/gearmand/Makefile b/packages/gearmand/Makefile
index 3072ca9..f5034cb 100644
--- a/packages/gearmand/Makefile
+++ b/packages/gearmand/Makefile
@@ -32,6 +32,8 @@ install:
 	$(MAKE) DESTDIR=$(DESTDIR) -C $(DIR) install
 
 skel:
+	mkdir -p $(SKEL)/var/log/gearman
+	touch $(SKEL)/var/log/gearman/gearman.log
 
 clean:
 	rm -rf $(DIR)
diff --git a/packages/mod-gearman/Makefile b/packages/mod-gearman/Makefile
index 71db742..d4154f6 100644
--- a/packages/mod-gearman/Makefile
+++ b/packages/mod-gearman/Makefile
@@ -45,8 +45,10 @@ skel:
 	    ( cd $(SKEL) ; patch -p1 ) < $$p || exit 1; \
 	done
 	find $(SKEL)/etc/mod-gearman -name \*.orig -exec rm {} \;
-	mkdir -p $(SKEL)/var
+	mkdir -p $(SKEL)/var/log/mod_gearman
 	cd $(SKEL)/var/log && ln -s gearman mod_gearman
+	touch $(SKEL)/var/log/mod_gearman/neb.log
+	touch $(SKEL)/var/log/mod_gearman/worker.log
 
 
 



More information about the omd-commits mailing list