summaryrefslogtreecommitdiff
path: root/systemd-user/home-backup.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-user/home-backup.service')
-rw-r--r--systemd-user/home-backup.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd-user/home-backup.service b/systemd-user/home-backup.service
new file mode 100644
index 0000000..0b9a69e
--- /dev/null
+++ b/systemd-user/home-backup.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Backup home directory to f2 (encrypted ZFS via rsync over SSH)
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=%h/scripts/home-backup
+Nice=10
+IOSchedulingClass=idle