aboutsummaryrefslogtreecommitdiffstats
path: root/main/syncthing/syncthing.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-08-25 09:49:09 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-08-25 09:54:04 +0200
commitcc468adabfbfa354376e5c2e5161056b1aa5ea83 (patch)
treef10df29ef3d456706d55b717d93a7e991d856a88 /main/syncthing/syncthing.initd
parent693908d02b509d9703b177449740b930c046104b (diff)
downloadaports-cc468adabfbfa354376e5c2e5161056b1aa5ea83.tar.bz2
aports-cc468adabfbfa354376e5c2e5161056b1aa5ea83.tar.xz
main/syncthing: upgrade to 0.9.8 move to main
added init scripts and custom snapshot function
Diffstat (limited to 'main/syncthing/syncthing.initd')
-rw-r--r--main/syncthing/syncthing.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/syncthing/syncthing.initd b/main/syncthing/syncthing.initd
new file mode 100644
index 0000000000..40738cc3a2
--- /dev/null
+++ b/main/syncthing/syncthing.initd
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+
+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
+}
+