[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: move pid file to icinga specific localstatedir otherwise it can not be

git at icinga.org git at icinga.org
Thu Jul 8 21:01:49 CEST 2010


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

Author: Christoph Maser <cmr at financial.com>
Date:   Fri Feb  5 13:46:49 2010 +0100

move pid file to icinga specific localstatedir otherwise it can not be
created if icinga is start as user

---

 icinga.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index 33ba880..feb24d1 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -97,7 +97,7 @@ PHP api for %{name}
     --with-gd-inc="%{_includedir}" \
     --with-htmurl="/icinga" \
     --with-init-dir="%{_initrddir}" \
-    --with-lockfile="%{_localstatedir}/run/icinga.pid" \
+    --with-lockfile="%{_localstatedir}/icinga/icinga.pid" \
     --with-mail="/bin/mail" \
     --with-icinga-user="icinga" \
     --with-icinga-group="icinga" \





More information about the icinga-checkins mailing list