Rename IcingaPowerShellService to IcingaFrameworkService

This commit is contained in:
Lord Hepipud 2019-10-31 14:32:49 +01:00
parent 071a26cc62
commit f4d349e396

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');
}