diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-18 08:22:28 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-18 08:22:28 -0700 |
commit | 551b694d009db0d6f9a6d7b1a01d02623c7f1697 (patch) | |
tree | 918311165bb687eba141ac46a7a2a55ea680e687 /config/systemd | |
parent | README: update list of installed packages (diff) | |
download | emacs.d-551b694d009db0d6f9a6d7b1a01d02623c7f1697.tar.gz |
backup: use the wireguard interface
The restic REST server is running on the nas' wireguard interface, so we need to change the URL in our unit file.
Diffstat (limited to 'config/systemd')
-rw-r--r-- | config/systemd/user/backup.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/systemd/user/backup.service b/config/systemd/user/backup.service index 4aaae08..98a9df9 100644 --- a/config/systemd/user/backup.service +++ b/config/systemd/user/backup.service @@ -4,7 +4,7 @@ Description=backup my home directory [Service] Type=oneshot -Environment=RESTIC_REPOSITORY=rest:http://nas.home:8010/ +Environment=RESTIC_REPOSITORY=rest:http://192.168.6.10:8010/ Environment=RESTIC_PASSWORD_FILE=/home/fcuny/.config/restic/password ExecStart=/usr/bin/restic --tag=home --exclude=/home/fcuny/.cache --exclude=/home/fcuny/.mozilla --exclude=/home/fcuny/media --exclude=/home/fcuny/.config/chromium backup /home/fcuny |