aboutsummaryrefslogtreecommitdiff
path: root/SystemD/.config/systemd/user
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-06 01:16:47 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-06 01:16:47 +0100
commitd88430aa8a5a322e819fb7ccddffa1bd645b883c (patch)
treeb3b1bfc030ac1d5c297ab44590b13931c558f985 /SystemD/.config/systemd/user
parent9e975839fe0b98649549173fe04f9191226e0657 (diff)
downloaddotfiles-d88430aa8a5a322e819fb7ccddffa1bd645b883c.tar.gz
dotfiles-d88430aa8a5a322e819fb7ccddffa1bd645b883c.tar.bz2
dotfiles-d88430aa8a5a322e819fb7ccddffa1bd645b883c.zip
(Scripts|SystemD)~rework backup system
This is purely for the desktop: only enable if you fix it up.
Diffstat (limited to 'SystemD/.config/systemd/user')
-rw-r--r--SystemD/.config/systemd/user/backup.service2
-rw-r--r--SystemD/.config/systemd/user/backup.timer1
2 files changed, 2 insertions, 1 deletions
diff --git a/SystemD/.config/systemd/user/backup.service b/SystemD/.config/systemd/user/backup.service
index d3bb8ed..0b44727 100644
--- a/SystemD/.config/systemd/user/backup.service
+++ b/SystemD/.config/systemd/user/backup.service
@@ -3,4 +3,4 @@ Description=Taking backup
[Service]
Type=simple
-ExecStart=/usr/bin/rsync -a --delete --quiet /home/oreo /media/hdd/backup
+ExecStart=%h/.local/scripts/do_backup
diff --git a/SystemD/.config/systemd/user/backup.timer b/SystemD/.config/systemd/user/backup.timer
index 2ddee9d..bf44b99 100644
--- a/SystemD/.config/systemd/user/backup.timer
+++ b/SystemD/.config/systemd/user/backup.timer
@@ -4,6 +4,7 @@ Description=Run backup weekly
[Timer]
OnBootSec=15min
OnUnitActiveSec=1w
+Unit=backup.service
[Install]
WantedBy=timers.target