Commit Graph

9 Commits

Author SHA1 Message Date
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