summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/git-autosave.service13
-rw-r--r--scripts/run2
2 files changed, 15 insertions, 0 deletions
diff --git a/scripts/git-autosave.service b/scripts/git-autosave.service
new file mode 100644
index 0000000..926859f
--- /dev/null
+++ b/scripts/git-autosave.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=git-autosave
+After=network.target
+
+[Service]
+Type=exec
+SyslogIdentifier=git-autosave
+Restart=always
+
+ExecStart=/usr/bin/git autosave-daemon
+
+[Install]
+WantedBy=default.target
diff --git a/scripts/run b/scripts/run
new file mode 100644
index 0000000..451af19
--- /dev/null
+++ b/scripts/run
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+exec git-autosave-daemon 2>&1