aboutsummaryrefslogtreecommitdiff
path: root/dendrite/dendrite-srv
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2022-09-06 16:49:45 +0530
committersinanmohd <pcmsinan@gmail.com>2022-09-06 17:00:09 +0530
commit4ee863477a2b885ad71a26ad6448b0d258b7895b (patch)
treeb8de66e11378914ce8f2ec68332c1492fc66bf4d /dendrite/dendrite-srv
parent6f6d441a58d170722f011aff106f2aed54562add (diff)
dendrite: add s6-rc service scripts for dendrite
Diffstat (limited to 'dendrite/dendrite-srv')
-rw-r--r--dendrite/dendrite-srv/producer-for1
-rw-r--r--dendrite/dendrite-srv/run5
-rw-r--r--dendrite/dendrite-srv/type1
3 files changed, 7 insertions, 0 deletions
diff --git a/dendrite/dendrite-srv/producer-for b/dendrite/dendrite-srv/producer-for
new file mode 100644
index 0000000..7b51d92
--- /dev/null
+++ b/dendrite/dendrite-srv/producer-for
@@ -0,0 +1 @@
+dendrite-log
diff --git a/dendrite/dendrite-srv/run b/dendrite/dendrite-srv/run
new file mode 100644
index 0000000..2f022e2
--- /dev/null
+++ b/dendrite/dendrite-srv/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+envfile /etc/s6/config/dendrite.conf
+importas -sCuD "" OPTS OPTS
+fdmove -c 2 1
+exec /usr/bin/dendrite ${OPTS}
diff --git a/dendrite/dendrite-srv/type b/dendrite/dendrite-srv/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/dendrite/dendrite-srv/type
@@ -0,0 +1 @@
+longrun