hilfe mein git ist komisch

This commit is contained in:
cutemeli
2026-01-08 18:34:49 +01:00
parent 710537a25d
commit b2d2dce845
4644 changed files with 94994 additions and 1763 deletions

18
etc/cron.daily/60sa-update Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
sa_update()
{
/usr/bin/sa-update -D
local rc="$?"
case $rc in
# Only restart spamd if sa-update returns 0, meaning it updated the rules
0) env PATH=/opt/psa/admin/sbin:/usr/local/psa/admin/sbin:$PATH spammng --condrestart ;;
# If sa-update returns 1 then there are no updates
1) exit 0 ;;
esac
return $rc
}
sa_update >> /var/log/sa-update.log 2>&1