diff --git a/etc/env b/etc/env new file mode 100644 index 0000000..b4df205 --- /dev/null +++ b/etc/env @@ -0,0 +1,20 @@ +# This is the file that will typically be /etc/restic/env (which is sourced from the script) + +# password for the repository +export RESTIC_PASSWORD= + +# repository location +export RESTIC_REPOSITORY= + +# restic cache dir +export RESTIC_CACHE_DIR= + +## matrix notifiction hook settings +# api key +export MATRIX_HOOK_KEY= +# room_id, ensure it is in '', because the ! will mess things up +export MATRIX_HOOK_ROOMID= + +# Specify these two if oom-killer is getting nasty with things +export TMPDIR= +export GOGC=1 diff --git a/systemd/restic-backup.service b/etc/systemd/system/restic-backup.service similarity index 100% rename from systemd/restic-backup.service rename to etc/systemd/system/restic-backup.service diff --git a/systemd/restic-backup.timer b/etc/systemd/system/restic-backup.timer similarity index 100% rename from systemd/restic-backup.timer rename to etc/systemd/system/restic-backup.timer