aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing/syncthing.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-28 16:02:08 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-28 16:16:28 +0200
commit6dc8b5b425701a8a6cadd27065bba2a450e630db (patch)
tree52f9ef075f868f93b1d23d4abaa37ca652b31989 /community/syncthing/syncthing.initd
parent2845b3981db34eb94244dddcced718c7189bce95 (diff)
downloadaports-6dc8b5b425701a8a6cadd27065bba2a450e630db.tar.bz2
aports-6dc8b5b425701a8a6cadd27065bba2a450e630db.tar.xz
community/syncthing: move from main
golang does not provide security patches for older stable branches so we can not provide support for 2 years for golang applications.
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 000000000..a34c28ed0
--- /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
+}
+