mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 15:19:58 -05:00
Rename IcingaPowerShellService to IcingaFrameworkService
This commit is contained in:
parent
316c5ca67f
commit
a1be749589
1 changed files with 3 additions and 3 deletions
|
|
@ -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');
|
||||
}
|
||||
Loading…
Reference in a new issue