File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,22 +23,22 @@ function update_script() {
2323 header_info
2424 check_container_storage
2525 check_container_resources
26- if [[ ! -f /etc/systemd/system/zitadel.service ]]; then
26+ if [[ ! -f /etc/systemd/system/zitadel-api .service ]]; then
2727 msg_error " No ${APP} Installation Found!"
2828 exit
2929 fi
3030
3131 if check_for_gh_release " zitadel" " zitadel/zitadel" ; then
3232 msg_info " Stopping Service"
33- systemctl stop zitadel
33+ systemctl stop zitadel-api zitadel-login
3434 msg_ok " Stopped Service"
3535
3636 msg_info " Updating Zitadel"
3737 rm -f /opt/zitadel/*
38- fetch_and_deploy_gh_release " zitadel" " zitadel/zitadel" " prebuild" " latest" " /opt/zitadel" " zitadel-linux-amd64.tar.gz"
38+ fetch_and_deploy_gh_release " zitadel" " zitadel/zitadel" " prebuild" " latest" " /opt/zitadel" " zitadel-linux-amd64.tar.gz"
3939
4040 rm -f /opt/login/*
41- fetch_and_deploy_gh_release " login" " zitadel/zitadel" " prebuild" " latest" " ${LOGIN_DIR} " " zitadel-login.tar.gz"
41+ fetch_and_deploy_gh_release " login" " zitadel/zitadel" " prebuild" " latest" " /opt/login " " zitadel-login.tar.gz"
4242
4343 cd /opt/zitadel
4444 ./zitadel setup --masterkeyFile /etc/zitadel/.masterkey --config /etc/zitadel/config.yaml --init-projections=true
You can’t perform that action at this time.
0 commit comments