Rename IcingaPowerShellService to IcingaFrameworkService

This commit is contained in:
Lord Hepipud 2019-10-31 14:32:49 +01:00
parent 316c5ca67f
commit a1be749589

View file

@ -1,8 +1,8 @@
function Install-IcingaPowerShellService()
function Install-IcingaFrameworkService()
{
param(
$Path,
$Username,
$User,
[SecureString]$Password
);
@ -22,5 +22,5 @@ function Install-IcingaPowerShellService()
throw ([string]::Format('Failed to install Icinga PowerShell Service: {0}{1}', $ServiceCreation.Message, $ServiceCreation.Error));
}
return (Set-IcingaAgentServiceUser -User $Username -Password $Password -Service 'icingapowershell');
return (Set-IcingaAgentServiceUser -User $User -Password $Password -Service 'icingapowershell');
}