mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
* Univention: fix not running async jobs because of old overlay storage driver
This commit is contained in:
parent
aebc3bc2e9
commit
b16b103639
@ -67,6 +67,14 @@ done 2>&1 | tee -a $LOG
|
|||||||
# as we can NOT exit from until (runs a subshell), we need to check and do it here
|
# as we can NOT exit from until (runs a subshell), we need to check and do it here
|
||||||
[ "$(tail -1 $LOG)" = "Installing of EGroupware failed!" ] && exit 1
|
[ "$(tail -1 $LOG)" = "Installing of EGroupware failed!" ] && exit 1
|
||||||
|
|
||||||
|
# fix cron entries in case docker uses "overlay" storage driver (eg. Univention 4.4)
|
||||||
|
# cron does NOT executing scripts with "NUMBER OF HARD LINKS > 1"
|
||||||
|
for f in /etc/crontab /etc/cron.*/*; do
|
||||||
|
[ $(ls -l $f | cut -d' ' -f2) -gt 1 ] && {
|
||||||
|
mv $f /tmp
|
||||||
|
cat /tmp/$(basename $f) > $f
|
||||||
|
}
|
||||||
|
done
|
||||||
# to run async jobs
|
# to run async jobs
|
||||||
service cron start
|
service cron start
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user