summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-06-13 12:45:18 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-06-13 12:47:02 +0200
commita663b73634ddf355827051cc139c0159f8eb794b (patch)
treee0c6ec7b924213fe1dcf6b057cfd37a6660762f1 /rel
parentfdb5bec431ad815263bae542324257a8ca29d81e (diff)
Add no_new_privs to OpenRC service filesno_new_privs
Diffstat (limited to 'rel')
-rwxr-xr-xrel/files/installation/init.d/pleroma1
1 files changed, 1 insertions, 0 deletions
diff --git a/rel/files/installation/init.d/pleroma b/rel/files/installation/init.d/pleroma
index dea1db26c..ca5b842e1 100755
--- a/rel/files/installation/init.d/pleroma
+++ b/rel/files/installation/init.d/pleroma
@@ -9,6 +9,7 @@ command=/opt/pleroma/bin/pleroma
command_args="start"
command_user=pleroma
command_background=1
+no_new_privs="yes"
# Ask process to terminate within 30 seconds, otherwise kill it
retry="SIGTERM/30/SIGKILL/5"