mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-07 08:19:17 +00:00
address remaining review comments
This commit is contained in:
parent
a852d6c7e5
commit
ac085fabd0
@ -69,17 +69,11 @@ function update_script() {
|
||||
mv silverbullet /opt/silverbullet/bin/
|
||||
chmod +x /opt/silverbullet/bin/silverbullet
|
||||
echo "${RELEASE}" >/opt/silverbullet/${APP}_version.txt
|
||||
msg_ok "Updated ${APP}"
|
||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
||||
|
||||
msg_info "Starting ${APP}"
|
||||
systemctl start silverbullet
|
||||
sleep 1
|
||||
if systemctl status silverbullet &>/dev/null ; then
|
||||
msg_ok "Started ${APP}"
|
||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
||||
else
|
||||
msg_error "Failed to start ${APP}"
|
||||
fi
|
||||
else
|
||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user