[omd-commits] OMD Git: omd: shinken: use absolute paths for the workdir in ini-files

git version control git at mathias-kettner.de
Thu May 19 13:07:23 CEST 2011


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

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Thu May 19 13:02:59 2011 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Thu May 19 13:02:59 2011 +0200

shinken: use absolute paths for the workdir in ini-files

---

 .../skel/etc/shinken/shinken-ini.d/brokerd.ini     |    3 +--
 .../skel/etc/shinken/shinken-ini.d/pollerd.ini     |    3 +--
 .../etc/shinken/shinken-ini.d/reactionnerd.ini     |    3 +--
 .../skel/etc/shinken/shinken-ini.d/schedulerd.ini  |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/packages/shinken/skel/etc/shinken/shinken-ini.d/brokerd.ini b/packages/shinken/skel/etc/shinken/shinken-ini.d/brokerd.ini
index 4c1f0ff..2ed782f 100644
--- a/packages/shinken/skel/etc/shinken/shinken-ini.d/brokerd.ini
+++ b/packages/shinken/skel/etc/shinken/shinken-ini.d/brokerd.ini
@@ -1,6 +1,5 @@
 [daemon]
-#relative from this cfg file
-workdir=run
+workdir=###ROOT###/tmp/shinken/run
 pidfile=%(workdir)s/brokerd.pid
 interval_poll=5
 maxfd=1024
diff --git a/packages/shinken/skel/etc/shinken/shinken-ini.d/pollerd.ini b/packages/shinken/skel/etc/shinken/shinken-ini.d/pollerd.ini
index 17943d7..7f050d2 100644
--- a/packages/shinken/skel/etc/shinken/shinken-ini.d/pollerd.ini
+++ b/packages/shinken/skel/etc/shinken/shinken-ini.d/pollerd.ini
@@ -1,6 +1,5 @@
 [daemon]
-#relative from this configuration file
-workdir=run
+workdir=###ROOT###/tmp/shinken/run
 pidfile=%(workdir)s/pollerd.pid
 interval_poll=5
 maxfd=1024
diff --git a/packages/shinken/skel/etc/shinken/shinken-ini.d/reactionnerd.ini b/packages/shinken/skel/etc/shinken/shinken-ini.d/reactionnerd.ini
index de2090a..54cf982 100644
--- a/packages/shinken/skel/etc/shinken/shinken-ini.d/reactionnerd.ini
+++ b/packages/shinken/skel/etc/shinken/shinken-ini.d/reactionnerd.ini
@@ -1,6 +1,5 @@
 [daemon]
-#relative from this cfg file
-workdir=run
+workdir=###ROOT###/tmp/shinken/run
 pidfile=%(workdir)s/reactionnerd.pid
 interval_poll=5
 maxfd=1024
diff --git a/packages/shinken/skel/etc/shinken/shinken-ini.d/schedulerd.ini b/packages/shinken/skel/etc/shinken/shinken-ini.d/schedulerd.ini
index 56f0929..50f3268 100644
--- a/packages/shinken/skel/etc/shinken/shinken-ini.d/schedulerd.ini
+++ b/packages/shinken/skel/etc/shinken/shinken-ini.d/schedulerd.ini
@@ -1,6 +1,5 @@
 [daemon]
-#Relative from this cfg file
-workdir=run
+workdir=###ROOT###/tmp/shinken/run
 pidfile=%(workdir)s/schedulerd.pid
 port=7768
 host=0.0.0.0



More information about the omd-commits mailing list