From b336f01839b4d4a860f272afb75ede307f4a6274 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 1 Oct 2012 16:29:05 +0200 Subject: [PATCH] let cron.reboot sleep a bit to have all resources ready Signed-off-by: Joerg Jaspert --- config/debian/cron.reboot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot index 26d507e4..78c0e9ba 100755 --- a/config/debian/cron.reboot +++ b/config/debian/cron.reboot @@ -26,6 +26,11 @@ set -u # the important part here) set -E +# We sleep a while here, as cron - and as such @reboot jobs like this +# one - are started pretty early during boot. With parts of the system +# still missing, most noticable for us is a not-yet-started postgres... +sleep 75 + # import the general variable set. export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS -- 2.39.2