We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3a2d6 commit f7b2c7eCopy full SHA for f7b2c7e
lib/core/installer/Start-IcingaForWindowsInstallation.psm1
@@ -243,10 +243,6 @@ function Start-IcingaForWindowsInstallation()
243
Write-IcingaFrameworkCodeCache;
244
Test-IcingaAgent;
245
246
- if ((Get-IcingaAgentInstallation).Installed) {
247
- Restart-IcingaService 'icinga2' -Force;
248
- }
249
-
250
switch ($InstallApiChecks) {
251
'0' {
252
Disable-IcingaFrameworkApiChecks;
@@ -275,6 +271,10 @@ function Start-IcingaForWindowsInstallation()
275
271
};
276
272
}
277
273
274
+ if ((Get-IcingaAgentInstallation).Installed) {
+ Restart-IcingaService 'icinga2' -Force;
+ }
+
278
if ($InstallService) {
279
Restart-IcingaWindowsService -Force;
280
0 commit comments