[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] let cron.reboot sleep a bit to have all resources ready



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/debian/cron.reboot |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot
index 26d507e..78c0e9b 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
-- 
1.7.2.5


Reply to: