summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAlvar Penning <post@0x21.biz>2023-03-11 12:23:24 +0100
committerAlvar Penning <post@0x21.biz>2023-03-11 12:59:10 +0100
commitadafbeff4ad01e21b9d1b39f072298978c08aa6c (patch)
tree6dbd73b8535dbad3661d1a6bb953ff32b3a3535f /pkgs/development/python-modules/rangehttpserver
parent898da5f74e4869af867b2e5cb1ff06202aecd910 (diff)
nixos/restic: generalize cache configuration
The restic repository cache location defaults to ~/.cache/restic when not overwritten either by the --cache-dir command line parameter or the universal RESTIC_CACHE_DIR environment variable. Currently, the --cache-dir variable is set to only some restic commands, but, e.g., not to the unit's preStart command for the module's initialize option. This results in two distinct cache locations, one at ~/.cache/restic for the initialize commands and one at the configured --cache-dir location for the restic backup command. By explicitly setting RESTIC_CACHE_DIR for the unit, only one cache at the correct location will be used. https://restic.readthedocs.io/en/v0.15.1/manual_rest.html#caching
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions