aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xborger4
1 files changed, 4 insertions, 0 deletions
diff --git a/borger b/borger
index c12a0df..53274d1 100755
--- a/borger
+++ b/borger
@@ -231,6 +231,10 @@ function borger_check_lockfile {
# Main backup procedure
function borger_run {
+ if [ ! -z "$STARTUP_DELAY" ]; then
+ sleep $STARTUP_DELAY
+ fi
+
borger_check_lockfile
borger_set_lockfile