mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Rename IcingaPowerShellService to IcingaFrameworkService
This commit is contained in:
parent
071a26cc62
commit
f4d349e396
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
function Install-IcingaPowerShellService()
|
function Install-IcingaFrameworkService()
|
||||||
{
|
{
|
||||||
param(
|
param(
|
||||||
$Path,
|
$Path,
|
||||||
$Username,
|
$User,
|
||||||
[SecureString]$Password
|
[SecureString]$Password
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -22,5 +22,5 @@ function Install-IcingaPowerShellService()
|
||||||
throw ([string]::Format('Failed to install Icinga PowerShell Service: {0}{1}', $ServiceCreation.Message, $ServiceCreation.Error));
|
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