aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing/syncthing.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing/syncthing.initd')
-rw-r--r--community/syncthing/syncthing.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/syncthing/syncthing.initd b/community/syncthing/syncthing.initd
new file mode 100644
index 0000000000..a34c28ed0d
--- /dev/null
+++ b/community/syncthing/syncthing.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+name=syncthing
+command=/usr/bin/$name
+command_args=$syncthing_args
+start_stop_daemon_args="--background --user $name --group $name"
+
+depend() {
+ use logger dns
+ need net
+ after firewall
+}
+