summaryrefslogtreecommitdiff
path: root/init.d/syncthing
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/syncthing')
-rwxr-xr-xinit.d/syncthing8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.d/syncthing b/init.d/syncthing
new file mode 100755
index 0000000..b77fb09
--- /dev/null
+++ b/init.d/syncthing
@@ -0,0 +1,8 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/syncthing
+command_background="true"
+pidfile=${XDG_RUNTIME_DIR:-${SVCDIR}}/emacs.pid
+description="Syncthing"