Module: check_mk
Branch: master
Commit: 596f507d02cf47184f7cc4ba8c482ae9b3844059
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=596f507d02cf47…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Oct 18 17:21:24 2012 +0200
Added internal compile helper tool
---
mkeventd/web/.f12 | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/mkeventd/web/.f12 b/mkeventd/web/.f12
new file mode 100644
index 0000000..2c8d957
--- /dev/null
+++ b/mkeventd/web/.f12
@@ -0,0 +1,8 @@
+#!/bin/bash
+SITE=${SITE:-$(omd sites --bare | head -n 1)}
+C=$(sudo cp --preserve=mode -rv * /omd/versions/default/share/check_mk/web/ | wc -l)
+#C=$(sudo cp --preserve=mode -rv htdocs/*.{css,py}
/omd/versions/default/share/check_mk/web/htdocs/ | wc -l)
+echo "$C files copied"
+if [ "$SITE" != - ] ; then
+ sudo omd restart $SITE apache
+fi