Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions install/zitadel-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ network_check
update_os

msg_info "Installing Dependencies (Patience)"
$STD apt install -y ca-certificates lsof
$STD apt install -y ca-certificates
msg_ok "Installed Dependecies"

PG_VERSION="17" setup_postgresql
Expand Down Expand Up @@ -114,13 +114,12 @@ NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now zitadel
systemctl enable -q zitadel
msg_ok "Created Services"

msg_info "Zitadel initial setup"
zitadel start-from-init --masterkeyFile /opt/zitadel/.masterkey --config /opt/zitadel/config.yaml &>/dev/null &
sleep 60
kill $(lsof -i | awk '/zitadel/ {print $2}' | head -n1)
$STD zitadel init --config /opt/zitadel/config.yaml
$STD zitadel setup --masterkeyFile /opt/zitadel/.masterkey --config /opt/zitadel/config.yaml
useradd zitadel
msg_ok "Zitadel initialized"

Expand Down
Loading