mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
Adds new command Restart-Icinga to restart both, the Icinga Agent and Icinga for Windows
This commit is contained in:
parent
8bed2b9c94
commit
364a01047e
2 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
5
lib/core/windows/Restart-Icinga.psm1
Normal file
5
lib/core/windows/Restart-Icinga.psm1
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function Restart-Icinga()
|
||||
{
|
||||
Restart-IcingaService -Service 'icinga2';
|
||||
Restart-IcingaForWindows;
|
||||
}
|
||||
Loading…
Reference in a new issue