There was an error while loading. Please reload this page.
1 parent 26377b7 commit 5776f3fCopy full SHA for 5776f3f
1 file changed
ct/fileflows.sh
@@ -34,7 +34,7 @@ function update_script() {
34
update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
35
if [[ "${update_available}" == "true" ]]; then
36
msg_info "Stopping Service"
37
- systemctl stop fileflows*
+ systemctl --all stop 'fileflows*'
38
msg_info "Stopped Service"
39
40
msg_info "Creating Backup"
@@ -46,7 +46,7 @@ function update_script() {
46
fetch_and_deploy_from_url "https://fileflows.com/downloads/zip" "/opt/fileflows"
47
48
msg_info "Starting Service"
49
- systemctl start fileflows*
+ systemctl --all start 'fileflows*'
50
msg_ok "Started Service"
51
msg_ok "Updated successfully!"
52
else
0 commit comments