summaryrefslogtreecommitdiff
path: root/init.d/syncthing
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-06-20 17:52:28 -0300
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-06-20 17:52:28 -0300
commit5c6288c62d4a2a7f2e519758a6f851564a293b38 (patch)
tree7760dbe9b37e231d6c7a30dca65eb6be923aa0e0 /init.d/syncthing
parent31ee4472e897cbf0c3d61bd56bd5864f4507b659 (diff)
Updated example init scriptsHEADmain
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
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"