Skip to content

Commit 043ee5b

Browse files
committed
add service installation step
1 parent ef343d4 commit 043ee5b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/install.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,16 @@ else
3131
Write-Host "--- Patroni user '$userName' already exists ---`n" -ForegroundColor green
3232
}
3333

34+
Write-Host "--- Installing Etcd service ---" -ForegroundColor blue
35+
etcd\etcd_service.exe install | Out-Default
36+
Write-Host "--- Etcd service sucessfully installed ---" -ForegroundColor green
37+
38+
Write-Host "--- Installing patroni service ---" -ForegroundColor blue
39+
patroni\patroni_service.exe install | Out-Default
40+
Write-Host "--- Patroni service sucessfully installed ---" -ForegroundColor green
41+
42+
Write-Host "--- Installing vip-manager service ---" -ForegroundColor blue
43+
vip-manager\vip-manager_service.exe install | Out-Default
44+
Write-Host "--- vip-manager service sucessfully installed ---" -ForegroundColor green
45+
3446
Write-Host "--- Installation sucessfully finished ---" -ForegroundColor green

src/patronictl.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ SETLOCAL
55
REM Set here your console [sic!] favorite editor
66
SET EDITOR=micro\micro.exe
77

8-
python.exe patroni\patronictl.py -c patroni.yml %*
8+
python.exe patroni\patronictl.py -c patroni.yaml %*

0 commit comments

Comments
 (0)