diff --git a/ct/fileflows.sh b/ct/fileflows.sh index 65449dba1..0d15bea18 100644 --- a/ct/fileflows.sh +++ b/ct/fileflows.sh @@ -34,7 +34,7 @@ function update_script() { update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable) if [[ "${update_available}" == "true" ]]; then msg_info "Stopping Service" - systemctl stop fileflows* + systemctl --all stop 'fileflows*' msg_info "Stopped Service" msg_info "Creating Backup" @@ -46,7 +46,7 @@ function update_script() { fetch_and_deploy_from_url "https://fileflows.com/downloads/zip" "/opt/fileflows" msg_info "Starting Service" - systemctl start fileflows* + systemctl --all start 'fileflows*' msg_ok "Started Service" msg_ok "Updated successfully!" else