summaryrefslogtreecommitdiff
path: root/.linux
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-11-15 22:06:07 -0800
committerMike Crute <mike@crute.us>2020-11-15 22:06:07 -0800
commit4051f0bcadb3608aca57947b57e4abe075566241 (patch)
treec53b71fe856d3c7c21f5a9d8fc31dba7edf9365b /.linux
parentefc1b713e0f133822f0aa1dd55a9c4344ae19bbf (diff)
downloaddotfiles-4051f0bcadb3608aca57947b57e4abe075566241.tar.bz2
dotfiles-4051f0bcadb3608aca57947b57e4abe075566241.tar.xz
dotfiles-4051f0bcadb3608aca57947b57e4abe075566241.zip
Use nas cname
Diffstat (limited to '.linux')
-rw-r--r--.linux/systemd/system-backup.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/.linux/systemd/system-backup.service b/.linux/systemd/system-backup.service
index b4569ab..61ed2de 100644
--- a/.linux/systemd/system-backup.service
+++ b/.linux/systemd/system-backup.service
@@ -7,9 +7,9 @@ ConditionPathExists=%h/.backup-filter
7[Service] 7[Service]
8Type=oneshot 8Type=oneshot
9 9
10ExecCondition=ping -q -c1 -W1 -w1 schroeder.sea1.crute.me 10ExecCondition=ping -q -c1 -W1 -w1 nas.sea1.crute.me
11 11
12Environment="RESTIC_REPOSITORY=rest:http://schroeder.sea1.crute.me:6275/mcrute-devices" 12Environment="RESTIC_REPOSITORY=rest:http://nas.sea1.crute.me:6275/mcrute-devices"
13Environment="RESTIC_PASSWORD_FILE=%h/.restic-key" 13Environment="RESTIC_PASSWORD_FILE=%h/.restic-key"
14ExecStart=restic backup --exclude-file %h/.backup-filter %h 14ExecStart=restic backup --exclude-file %h/.backup-filter %h
15 15