mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-03-08 13:19:05 +00:00
Zitadel-install.sh: Remove one version file and update to our standard (#2710)
This commit is contained in:
parent
0871b9c84c
commit
bd0c906c44
@ -46,7 +46,6 @@ msg_info "Installing Zitadel"
|
||||
RELEASE=$(curl -si https://github.com/zitadel/zitadel/releases/latest | grep location: | cut -d '/' -f 8 | tr -d '\r')
|
||||
wget -qc https://github.com/zitadel/zitadel/releases/download/$RELEASE/zitadel-linux-amd64.tar.gz -O - | tar -xz
|
||||
mv zitadel-linux-amd64/zitadel /usr/local/bin
|
||||
echo "${RELEASE}" >"/opt/zitadel_version.txt"
|
||||
msg_ok "Installed Zitadel"
|
||||
|
||||
msg_info "Setting up Zitadel Environments"
|
||||
@ -126,7 +125,7 @@ zitadel start-from-init --masterkeyFile /opt/zitadel/.masterkey --config /opt/zi
|
||||
sleep 60
|
||||
kill $(lsof -i | awk '/zitadel/ {print $2}' | head -n1)
|
||||
useradd zitadel
|
||||
echo -e "$(zitadel -v | grep -oP 'v\d+\.\d+\.\d+')" > /opt/Zitadel_version.txt
|
||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
msg_ok "Zitadel initialized"
|
||||
|
||||
msg_info "Set ExternalDomain to current IP and restart Zitadel"
|
||||
|
Loading…
x
Reference in New Issue
Block a user