We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2275b4 commit 596699dCopy full SHA for 596699d
ct/booklore.sh
@@ -33,6 +33,10 @@ function update_script() {
33
systemctl stop booklore
34
msg_ok "Stopped $APP"
35
36
+ msg_info "backup old install"
37
+ mv /opt/booklore /opt/booklore_bak
38
+ msg_ok "backup done"
39
+
40
fetch_and_deploy_gh_release "booklore" "booklore-app/BookLore"
41
42
msg_info "Building Frontend"
@@ -58,6 +62,7 @@ function update_script() {
58
62
msg_info "Starting $APP"
59
63
systemctl start booklore
60
64
systemctl reload nginx
65
+ rm -rf /opt/booklore_bak
61
66
msg_ok "Started $APP"
67
msg_ok "Updated Successfully"
68
fi
0 commit comments