stunnel client on rsync://localhost:12345/ for testing
authorroot <root@rsync1.maxxo.com>
Wed, 30 Nov 2011 23:58:01 +0000 (00:58 +0100)
committerroot <root@rsync1.maxxo.com>
Wed, 30 Nov 2011 23:58:01 +0000 (00:58 +0100)
init.d/s1-stunnel-client [new file with mode: 0755]

diff --git a/init.d/s1-stunnel-client b/init.d/s1-stunnel-client
new file mode 100755 (executable)
index 0000000..ff6eef7
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. /srv/cloudstore/init.d/_start_stop
+BACKGROUND=0
+
+NAME=s1-stunnel-client
+DAEMON="/usr/bin/stunnel -c -d localhost:12345 -r 213.186.16.27:443 -P /tmp/$NAME.pid -o /tmp/$NAME.log -p /etc/ssl/rsync1.maxxo.com.pem"
+
+_start_stop $*
+