borgbackup/borg
Julian Andres Klode c8f4e9e34c Correctly exit with proper unlock on SIGHUP, fixes #1593
If the connections hangs up, the borg server needs to clean
up, especially unlock the repository, so a later try will
work again.

This is especially problematic with systemd systems that have
KillUserProcesses enabled (which is the default): Logind sends
a SIGHUP message to the session scope when the session ends.
2016-09-13 22:01:28 +02:00
..
testsuite Merge pull request #1581 from enkore/issue/1580 2016-09-09 19:31:22 +02:00
__init__.py propperly handle borg._version using setuptools_scm 2015-08-22 15:54:40 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907 2016-04-15 20:16:47 -04:00
_hashindex.c hashindex.c: hashindex_resize check hashindex_set rc (contract) 2016-07-09 01:35:01 +02:00
archive.py Merge pull request #1581 from enkore/issue/1580 2016-09-09 19:31:22 +02:00
archiver.py Correctly exit with proper unlock on SIGHUP, fixes #1593 2016-09-13 22:01:28 +02:00
cache.py Cache: release lock if cache is invalid 2016-08-18 12:26:14 +02:00
chunker.pyx cython code: add some int types to get rid of unspecific python add / subtract operations 2015-09-10 23:12:12 +02:00
compress.pyx lz4: reuse helpers.Buffer 2016-08-13 01:46:15 +02:00
crypto.pyx use long long for AES block counter, fixes #1206 2016-06-26 20:45:22 +02:00
fuse.py FUSE: always create a root dir, fixes #1125 2016-07-29 00:24:18 +02:00
hashindex.pyx hashindex: make MAX_VALUE a class constant 2016-09-07 16:10:10 +02:00
helpers.py refactor buffer code into helpers.Buffer class, add tests 2016-08-13 01:45:23 +02:00
key.py LZ4: dynamically enlarge the (de)compression buffer, fixes #1453 2016-08-09 02:52:21 +02:00
locking.py repository: fix spurious, empty lock.roster on InvalidRepository exception 2016-08-18 00:54:12 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
platform.py sync_dir: silence fsync() failing with EINVAL 2016-07-08 17:36:32 +02:00
platform_darwin.pyx acls (darwin): use helper functions safe_encode/safe_decode 2015-10-19 02:32:29 +02:00
platform_freebsd.pyx acls (freebsd): use helper functions safe_encode/safe_decode 2015-10-19 01:43:46 +02:00
platform_linux.pyx acls (linux): helper functions safe_encode/safe_decode 2015-10-19 01:40:15 +02:00
remote.py RepositoryServer: Add error message when connection was closed before opening repo. 2016-08-24 08:32:04 +02:00
repository.py Repository: fix repo not closed cleanly on InvalidRepository exception 2016-08-18 00:54:10 +02:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py rename UpgradableLock to Lock 2016-08-05 19:06:09 +02:00
xattr.py refactor buffer code into helpers.Buffer class, add tests 2016-08-13 01:45:23 +02:00