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
This commit is contained in:
Lord Hepipud 2024-03-13 16:57:27 +01:00 committed by GitHub
commit 43370817af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
* [#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
* [#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
* [#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
* [#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
## 1.11.2 (tbd)

View file

@ -0,0 +1,5 @@
function Restart-Icinga()
{
Restart-IcingaService -Service 'icinga2';
Restart-IcingaForWindows;
}