Gunnar Beutner
bd7b2f30ef
Validate configuration files during reload
...
fixes #7045
2014-12-11 09:27:31 +01:00
Gunnar Beutner
7ee0eef562
Move the icinga2-prepare-dirs script to /usr/lib
...
fixes #7786
2014-11-27 14:47:51 +01:00
Gunnar Beutner
9f0e0aac86
Fix the init script
...
refs #7613
2014-11-26 08:16:13 +01:00
Michael Friedrich
9818477a44
Make sure that user/group exists when starting Icinga 2
...
fixes #7173
fixes #7613
2014-11-25 18:44:25 +01:00
Gunnar Beutner
6e17eadf8f
Remove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables
...
refs #7370
2014-10-20 21:41:04 +02:00
Gunnar Beutner
a01fb6d6e6
Make sure we're using the right user/group for CLI commands
...
refs #7246
2014-10-13 13:44:45 +02:00
Gunnar Beutner
a4081f1445
Implement support for CLI commands
...
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner
5ae1f4273c
Init script: Check whether the PID file exists
...
fixes #7047
2014-09-02 13:48:48 +02:00
Gunnar Beutner
dde00a3f16
Use LSB-compliant exit codes for the init script
...
fixes #7044
2014-09-02 13:40:33 +02:00
Gerd von Egidy
fe62fb90e6
Don't call check_run in the initscript, this function is gone.
...
Refs #4794
2014-06-15 20:08:45 +02:00
Gerd von Egidy
dd9b7bcd73
Move the sysdefines.conf file to /etc/sysconfig.
...
As /etc/sysconfig is distro specific, the filename used can be configured via the CMake parameter
ICINGA2_SYSCONFIGFILE
Refs #4794
2014-06-15 19:47:27 +02:00
Gerd von Egidy
4ebde46520
Move code preparing dirs and permissions to icinga2-prepare-dirs, use this for SysV-Init and systemd.
...
Refs #4794
Conflicts:
etc/initsystem/icinga2.init.d.cmake
2014-06-15 16:25:50 +02:00
Gerd von Egidy
ef49658474
Unify resources for SysV-Init and systemd.
...
- Move system-specific defines like paths and usernames to /etc/icinga2/sysdefines.conf
Do not use /etc/sysconfig for this as per suggestion on the systemd mailinglist: it is RedHat-specific
- Use /etc/icinga2/sysdefines.conf in SysV-Init and systemd
- Move both the sources of the SysV-Initscript and the systemd-service definition to etc/initsystem
Refs #4794
Conflicts:
etc/initsystem/icinga2.init.d.cmake
2014-06-15 15:49:13 +02:00