[icinga-checkins] icinga.org: icinga2/next: Document new CMake parameters and startup for systemd-support.

git at icinga.org git at icinga.org
Sun Jun 15 22:29:50 CEST 2014


Module: icinga2
Branch: next
Commit: 9fbd5c0841bbce850c078a1b1f2a733f0a7bdad0
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=9fbd5c0841bbce850c078a1b1f2a733f0a7bdad0

Author: Gerd von Egidy <gerd at egidy.de>
Date:   Sun Jun 15 22:28:41 2014 +0200

Document new CMake parameters and startup for systemd-support.

---

 INSTALL |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/INSTALL b/INSTALL
index b948d6c..5329fb1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -127,7 +127,10 @@ variables are supported:
 - ICINGA2_GIT_VERSION_INFO: Whether to use Git to determine the version number; defaults to "ON"
 - ICINGA2_COMMAND_GROUP: The command group Icinga 2 should use; default to "icingacmd"
 - CMAKE_INSTALL_SYSCONFDIR: The configuration directory; defaults to CMAKE_INSTALL_PREFIX/etc
+- ICINGA2_SYSCONFIGFILE: Where to put the config file the initscript/systemd pulls it's dirs from; 
+		defaults to CMAKE_INSTALL_PREFIX/etc/sysconfig/icinga2
 - CMAKE_INSTALL_LOCALSTATEDIR: The state directory; defaults to CMAKE_INSTALL_PREFIX/var
+- USE_SYSTEMD=ON|OFF: Use systemd or a classic SysV initscript; defaults to OFF
 
 ### Building Icinga 2 RPMs
 
@@ -161,6 +164,9 @@ Icinga 2 can be started as daemon using the provided init script:
 # /etc/init.d/icinga2
 Usage: /etc/init.d/icinga2 {start|stop|restart|reload|checkconfig|status}
 
+Or if your distribution uses systemd:
+# systemctl {start|stop|reload|status|enable|disable} icinga2.service
+
 Icinga 2 reads a single configuration file which is used to specify all
 configuration settings (global settings, hosts, services, etc.). The
 configuration format is explained in detail in the doc/ directory.



More information about the icinga-checkins mailing list