Skip to content

Commit 4337081

Browse files
authored
Merge pull request #693 from Icinga:feature/adds_restart_icinga_command
Feature: Adds new command `Restart-Icinga` to restart both, the Icinga Agent and Icinga for Windows Adds new command `Restart-Icinga` to restart both, the Icinga Agent and Icinga for Windows
2 parents 8bed2b9 + 364a010 commit 4337081

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2727
* [#688](https://github.com/Icinga/icinga-powershell-framework/pull/688) Adds new handling to add scheduled tasks in Windows for interacting with Icinga for Windows core functionality as well as an auto renewal task for the Icinga for Windows certificate generation
2828
* [#690](https://github.com/Icinga/icinga-powershell-framework/pull/690) Adds automatic renewal of the `icingaforwindows.pfx` certificate for the REST-Api daemon in case the certificate is not yet present, valid or changed during the runtime of the daemon while also making the `icingaforwindows.pfx` mandatory for all installations, regardless of JEA being used or not
2929
* [#692](https://github.com/Icinga/icinga-powershell-framework/pull/692) Renames `Restart-IcingaWindowsService` to `Restart-IcingaForWindows` and adds alias for backwards compatibility to start unifying the Icinga for Windows cmdlets
30+
* [#693](https://github.com/Icinga/icinga-powershell-framework/pull/693) Adds new command `Restart-Icinga` to restart both, the Icinga Agent and Icinga for Windows
3031

3132
## 1.11.2 (tbd)
3233

lib/core/windows/Restart-Icinga.psm1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function Restart-Icinga()
2+
{
3+
Restart-IcingaService -Service 'icinga2';
4+
Restart-IcingaForWindows;
5+
}

0 commit comments

Comments
 (0)