aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing13/syncthing.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing13/syncthing.initd')
-rw-r--r--community/syncthing13/syncthing.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/syncthing13/syncthing.initd b/community/syncthing13/syncthing.initd
new file mode 100644
index 0000000000..a34c28ed0d
--- /dev/null
+++ b/community/syncthing13/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
+}
+