summaryrefslogtreecommitdiff
path: root/etc/systemd/system/grub-btrfs.path
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/grub-btrfs.path')
-rw-r--r--etc/systemd/system/grub-btrfs.path12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/systemd/system/grub-btrfs.path b/etc/systemd/system/grub-btrfs.path
new file mode 100644
index 0000000..932f266
--- /dev/null
+++ b/etc/systemd/system/grub-btrfs.path
@@ -0,0 +1,12 @@
+[Unit]
+Description=Monitors for new timeshift snapshots
+DefaultDependencies=no
+Requires=run-timeshift-backup.mount
+After=run-timeshift-backup.mount
+BindsTo=run-timeshift-backup.mount
+
+[Path]
+PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots
+
+[Install]
+WantedBy=run-timeshift-backup.mount \ No newline at end of file