[omd-commits] OMD Git: omd: shinken: add local PYTHONPATH to the startup script

git version control git at mathias-kettner.de
Fri Dec 24 12:00:07 CET 2010


Module: omd
Branch: master
Commit: 39ad629aea402625c285fb92d506554752a835ce
URL:    http://omdistro.org/projects/omd/repository/revisions/39ad629aea402625c285fb92d506554752a835ce

Author: Gerhard Lausser <gerhard.lausser at consol.de>
Date:   Fri Dec 24 10:59:01 2010 +0000

shinken: add local PYTHONPATH to the startup script

---

 packages/shinken/skel/etc/init.d/shinken |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/packages/shinken/skel/etc/init.d/shinken b/packages/shinken/skel/etc/init.d/shinken
index 32ea79e..6887200 100755
--- a/packages/shinken/skel/etc/init.d/shinken
+++ b/packages/shinken/skel/etc/init.d/shinken
@@ -40,6 +40,9 @@ LIVESTATUS_TCP_PORT=${CONFIG_LIVESTATUS_TCP_PORT:=6557}
 NSCA=${CONFIG_NSCA:=off}
 NSCA_TCP_PORT=${CONFIG_NSCA_TCP_PORT:=5667}
 
+# Pyro and multiprocessing have been installed locally
+PYTHONPATH=###ROOT###/lib/python
+
 # OMD: create configuration file out of fragments
 case "$1" in start|restart|reload|checkconfig)
     merge-shinken-config \



More information about the omd-commits mailing list