installer: directly stop box code

the idea (previously) was that the box code knew how to stop itself.
this is why stop.sh of the _old_ code was invoked. we can just inline
the code needed to stop the old version into installer.sh itself.
This commit is contained in:
Girish Ramakrishnan
2025-06-15 17:40:00 +02:00
parent 1095e47e6f
commit 1ba9513a4e
2 changed files with 1 additions and 8 deletions

View File

@@ -190,7 +190,7 @@ done
if [[ "${is_update}" == "yes" ]]; then
log "stop box service for update"
${box_src_dir}/setup/stop.sh
systemctl stop box
fi
# ensure we are not inside the source directory, which we will remove now