]> granicus.if.org Git - icinga2/commitdiff
Document new CMake parameters and startup for systemd-support.
authorGerd von Egidy <gerd@egidy.de>
Sun, 15 Jun 2014 20:28:41 +0000 (22:28 +0200)
committerGerd von Egidy <gerd@egidy.de>
Sun, 15 Jun 2014 20:28:41 +0000 (22:28 +0200)
INSTALL

diff --git a/INSTALL b/INSTALL
index b948d6c88b72621fda91ee4de3d067af36d27a27..5329fb1cb5b4afe9e924475352772e846f13adac 100644 (file)
--- 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.