aboutsummaryrefslogtreecommitdiff
path: root/dendrite/dendrite-srv/run
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/run
parent6f6d441a58d170722f011aff106f2aed54562add (diff)
dendrite: add s6-rc service scripts for dendrite
Diffstat (limited to 'dendrite/dendrite-srv/run')
-rw-r--r--dendrite/dendrite-srv/run5
1 files changed, 5 insertions, 0 deletions
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}