Add missing endif
Move decision about systemd/sysvinit to one location. Add files forgotten during merge.

Refs #4794
Docs: fix some typos.

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
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
Add a manpage for icinga2-prepare-dirs.

Refs #4794
Don't mark the systemd service file as executable.

Refs #4794
Don't call check_run in the initscript, this function is gone.

Refs #4794
Run check_run only in do_start()
install new man page properly

refs #4794
Merge branch 'feature/systemd-4794-final' into next

fixes #4794
update AUTHORS
fix debian/CMakeLists.txt cmake location

refs #6485
Fix icinga-{en,dis}able-feature text
Document new CMake parameters and startup for systemd-support.
Docs: fix typos in chapter 6.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Documentation: fix url formatting, dependency example
Separate CMakeLists.txt for etc/initsystem.

Refs #6491
Docs: fix typos in chapter 8.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Merge branch 'feature/separate-CMakeLists-6491' into next

fixes #6491
Add (s)smtp_mail_from option to smtp and ssmtp commands.

Refs #6487