diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-02-03 12:18:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-02-03 12:18:16 -0300 |
commit | 8eb0eabe388b35032ec085d694df8a7d78d2a575 (patch) | |
tree | 601ab971bf94d9ed98929aba69b73ce90204dd1e | |
parent | b7e7cdac5d333cf8a58856e779fb16a5e77d78e3 (diff) | |
download | borger-8eb0eabe388b35032ec085d694df8a7d78d2a575.tar.gz borger-8eb0eabe388b35032ec085d694df8a7d78d2a575.tar.bz2 |
Feat: STARTUP_DELAY
-rwxr-xr-x | borger | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |