aboutsummaryrefslogtreecommitdiff
path: root/stow/duplicity/.local/share/systemd/user
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2024-04-11 16:21:15 -0500
committerMatt Singleton <matt@xcolour.net>2024-04-11 16:21:15 -0500
commitf2dfde23f8157da1532a2b2e236af529fed47713 (patch)
treed5eabb0eb33d100304ee16596b2a43dfb4a68d1c /stow/duplicity/.local/share/systemd/user
parent7f67d28e18760154778f20da43772838c36734ed (diff)
replace janky deploy script with stow and make
re-orgs all the console oriented dotfiles to be stowable makefile to deploy everything move from vimplug to native vim packages cleanup script for blowing away old symlinks
Diffstat (limited to 'stow/duplicity/.local/share/systemd/user')
-rw-r--r--stow/duplicity/.local/share/systemd/user/backup.service7
-rw-r--r--stow/duplicity/.local/share/systemd/user/backup.timer9
2 files changed, 16 insertions, 0 deletions
diff --git a/stow/duplicity/.local/share/systemd/user/backup.service b/stow/duplicity/.local/share/systemd/user/backup.service
new file mode 100644
index 0000000..c1adfde
--- /dev/null
+++ b/stow/duplicity/.local/share/systemd/user/backup.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Backup with duplicity
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=bash ${HOME}/.local/bin/backup
diff --git a/stow/duplicity/.local/share/systemd/user/backup.timer b/stow/duplicity/.local/share/systemd/user/backup.timer
new file mode 100644
index 0000000..b7815d6
--- /dev/null
+++ b/stow/duplicity/.local/share/systemd/user/backup.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run backup every four hours
+
+[Timer]
+OnCalendar=*-*-* 0/4:15
+Persistent=true
+
+[Install]
+WantedBy=timers.target