WIP: Add locking of borgmatic config file #254

Closed
drewkett wants to merge 9 commits from (deleted):configlock into main

9 Commits

Author SHA1 Message Date
Andrew Burkett 36312fe98c Merge master 2019-12-24 12:02:06 -08:00
Andrew Burkett 16c378507d Formatting 2019-12-24 11:52:39 -08:00
Andrew Burkett 5ea7e1eaa6 Formatting 2019-12-24 11:51:25 -08:00
Andrew Burkett 398c129411 Update schema text and merge conditionals 2019-12-24 11:50:26 -08:00
Andrew Burkett f8dec72e98 Formatting 2019-12-24 11:45:23 -08:00
Andrew Burkett 877b1c440e Update error handling for lock_client 2019-12-04 07:52:51 -08:00
Andrew Burkett 4fb6a49b33 Changed lock_config to lock_client. Moved locking to run_configuration 2019-12-03 11:25:13 -08:00
Andrew Burkett 8d24b0a586 Fix a couple bugs
- Remove extra closed parenthesis
- Forgot to import fcntl
- Add option to config schema
2019-11-26 21:31:04 -08:00
Andrew Burkett 1d1df99ee8 Add locking of borgmatic config file
This prevents multiple instances of borgmatic from running against
the same config file. This is particularly important when there are
pre-backup scripts with side effects
2019-11-26 21:22:27 -08:00