Add pgcat user (#546)

* Add pgcat user

* warn

* dev
This commit is contained in:
Lev Kokotov
2023-08-10 12:25:43 -07:00
committed by GitHub
parent f94ce97ebc
commit 4f0f45b576
7 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,9 @@
#!/bin/bash
set -e
systemctl daemon-reload
systemctl enable pgcat
if ! id pgcat 2> /dev/null; then
useradd -s /usr/bin/false pgcat
fi