aboutsummaryrefslogtreecommitdiff
path: root/dendrite
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2022-09-08 11:35:11 +0530
committersinanmohd <pcmsinan@gmail.com>2022-09-08 11:35:11 +0530
commita99684fa34754f21ad464dbc47108d646de6e571 (patch)
treee5cdc1791dfea0021cc95194224c298eaa025de6 /dendrite
parent714fef7d659b65541e6e5aeac2cd5ab0e5f44266 (diff)
dendrite: exec dendrite in /var/lib/dendrite dir and run it as the dendrite user
Diffstat (limited to 'dendrite')
-rw-r--r--dendrite/dendrite-srv/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/dendrite/dendrite-srv/run b/dendrite/dendrite-srv/run
index 2f022e2..9d8ba03 100644
--- a/dendrite/dendrite-srv/run
+++ b/dendrite/dendrite-srv/run
@@ -2,4 +2,4 @@
envfile /etc/s6/config/dendrite.conf
importas -sCuD "" OPTS OPTS
fdmove -c 2 1
-exec /usr/bin/dendrite ${OPTS}
+execline-cd /var/lib/dendrite s6-setuidgid dendrite exec /usr/bin/dendrite ${OPTS}