#!/bin/bash

appCrowdSecHubUpdate() {
    runSystem cscli hub update
    checkSuccess "Hub index refreshed"
    runSystem cscli hub upgrade
    checkSuccess "Installed collections upgraded"
    runSystem systemctl reload crowdsec
    checkSuccess "Reloaded CrowdSec to apply changes"
}
