aboutsummaryrefslogtreecommitdiff
path: root/scripts/systemd/roam-sync.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/systemd/roam-sync.service')
-rw-r--r--scripts/systemd/roam-sync.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/systemd/roam-sync.service b/scripts/systemd/roam-sync.service
new file mode 100644
index 0000000..e4ad502
--- /dev/null
+++ b/scripts/systemd/roam-sync.service
@@ -0,0 +1,9 @@
+# org-roam KB auto-sync (spec D8). Install:
+# cp scripts/systemd/roam-sync.* ~/.config/systemd/user/
+# systemctl --user daemon-reload && systemctl --user enable --now roam-sync.timer
+[Unit]
+Description=Auto-sync the org-roam knowledge base repo
+
+[Service]
+Type=oneshot
+ExecStart=%h/code/rulesets/scripts/roam-sync.sh %h/org/roam