crowdsec/config/crowdsec.cron.daily

6 lines
148 B
Bash

#!/bin/sh
test -x /usr/bin/cscli || exit 0
/usr/bin/cscli --error hub update && /usr/bin/cscli --error hub upgrade
systemctl reload crowdsec
exit 0