mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-06 03:12:50 +00:00
Update log messages for Pangolin service
This commit is contained in:
@@ -29,7 +29,7 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "pangolin" "fosrl/pangolin"; then
|
if check_for_gh_release "pangolin" "fosrl/pangolin"; then
|
||||||
msg_info "Stopping ${APP}"
|
msg_info "Stopping Service"
|
||||||
systemctl stop pangolin
|
systemctl stop pangolin
|
||||||
msg_info "Service stopped"
|
msg_info "Service stopped"
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ function update_script() {
|
|||||||
fetch_and_deploy_gh_release "pangolin" "fosrl/pangolin" "tarball"
|
fetch_and_deploy_gh_release "pangolin" "fosrl/pangolin" "tarball"
|
||||||
fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/bin" "gerbil_linux_amd64"
|
fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/bin" "gerbil_linux_amd64"
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating Pangolin"
|
||||||
export BUILD=oss
|
export BUILD=oss
|
||||||
export DATABASE=sqlite
|
export DATABASE=sqlite
|
||||||
cd /opt/pangolin
|
cd /opt/pangolin
|
||||||
@@ -61,7 +61,7 @@ cd /opt/pangolin
|
|||||||
EOF
|
EOF
|
||||||
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
||||||
cp server/db/names.json ./dist/names.json
|
cp server/db/names.json ./dist/names.json
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated Pangolin"
|
||||||
|
|
||||||
msg_info "Restoring config"
|
msg_info "Restoring config"
|
||||||
tar -xzf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin --overwrite
|
tar -xzf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin --overwrite
|
||||||
|
|||||||
Reference in New Issue
Block a user