aboutsummaryrefslogtreecommitdiffstats
path: root/testing/csync2/csync2.initd
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-09-24 16:17:31 +0300
committerSören Tempel <soeren+git@soeren-tempel.net>2015-09-29 16:13:11 +0200
commitfa6505dc69a2a6945324744d8134de0b186be808 (patch)
tree51ed8fedb90f372a5b783b2a2a7d2af6f7f890b2 /testing/csync2/csync2.initd
parent48cf8ee4d00068967848c3c9deb33b6c996c1697 (diff)
downloadaports-fa6505dc69a2a6945324744d8134de0b186be808.tar.bz2
aports-fa6505dc69a2a6945324744d8134de0b186be808.tar.xz
testing/csync2: upgrade to 2.0
Diffstat (limited to 'testing/csync2/csync2.initd')
-rw-r--r--testing/csync2/csync2.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/csync2/csync2.initd b/testing/csync2/csync2.initd
new file mode 100644
index 0000000000..0caa339d61
--- /dev/null
+++ b/testing/csync2/csync2.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+name="$SVCNAME"
+pidfile="/var/run/$SVCNAME.pid"
+command="/usr/sbin/$SVCNAME"
+command_args="-ii"
+command_background="yes"
+required_files="/etc/csync2/csync2.cfg /etc/csync2/csync2_ssl_key.pem /etc/csync2/csync2_ssl_cert.pem"
+
+depend() {
+ need net localmount
+ after firewall
+}