Commit Graph

14 Commits

Author SHA1 Message Date
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 6b9f3beb14 Fix incorrect command name in the Debian init script
refs #7246
2014-10-08 15:45:38 +02:00
Gunnar Beutner a4081f1445 Implement support for CLI commands
fixes #7246
2014-10-08 15:33:10 +02:00
Alexander Wirt 63888508a4 Run check_run only in do_start() 2014-06-15 20:18:20 +02:00
Michael Friedrich 6bebdddf98 Less verbose start output using the initscript
All output is dumped to startup.log and only shown in case of
'checkconfig' as parameter, but not during a reload/restart.

Furtermore some additional formatting to make it fit line by line.

fixes #5822
2014-06-12 16:05:45 +02:00
Markus Frosch 6b8d079fd2 Debian: Use user/group config also for /run handling in init script.
Also added DAEMON_CMDGROUP var.

Fixes #5309
2013-12-11 18:33:44 +01:00
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
2013-12-11 16:07:46 +01:00
Markus Frosch 6200c8164c Debian: Cleaned up indention in init script.
Refs #5305

Conflicts:
	debian/icinga2-common.icinga2.init
2013-12-11 15:34:29 +01:00
Markus Frosch 16e1da530f Debian: Added checkconfig helper to initscript.
And simplified check handling over all functions.

Refs #5305
2013-12-11 15:33:47 +01:00
Markus Frosch 4c8f1f3d9d Debian: Added DAEMON_(USER|GROUP) to init/default for config checking.
Config should be checked with the actual uid/gid Icinga 2 will run under.

Also moved "-d" to the actual start-stop-daemon call.

Fixes #5299
2013-12-11 15:31:54 +01:00
Markus Frosch 2b7e8ed7ab Debian: Fixed config check and changed DAEMON_ARGS in init script.
Check now actually works, command was incorrect and not properly blocking the
actual action on fail.

Also the config file is now in DAEMON_CONFIG variable.

Fixes #5086
2013-12-04 19:50:10 +01:00
Markus Frosch 941224cb68 Updated Debian packaging for 0.0.4
refs #4988
refs #4975
2013-11-08 14:14:57 +01:00
Markus Frosch c930215d3f Imported current Debian packaging (for 0.0.3)
refs #4988
2013-11-08 14:14:55 +01:00