From a99684fa34754f21ad464dbc47108d646de6e571 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 8 Sep 2022 11:35:11 +0530 Subject: dendrite: exec dendrite in /var/lib/dendrite dir and run it as the dendrite user --- dendrite/dendrite-srv/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dendrite') 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} -- cgit v1.2.3