summaryrefslogtreecommitdiff
path: root/.config/systemd/user/backup-home.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/backup-home.service')
-rw-r--r--.config/systemd/user/backup-home.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/systemd/user/backup-home.service b/.config/systemd/user/backup-home.service
new file mode 100644
index 0000000..6e136e3
--- /dev/null
+++ b/.config/systemd/user/backup-home.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Run home directory rsync backup script
+After=local-fs.target
+
+[Service]
+Type=oneshot
+ExecStart=%h/scripts/backup-home.sh
+
+[Install]
+WantedBy=default.target