add two lines explanation on hardening

This commit is contained in:
Mathilde Grünig 2023-03-30 13:29:43 +02:00
parent 2cd56842ec
commit 166c20e081
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ Environment='PWD="/home/cryptpad/cryptpad"'
# or risk EMFILE errors.
LimitNOFILE=1000000
# hardening directives as per https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# check those with systemd-analyze security cryptpad.service for more information
# Proc filesystem
ProcSubset=all
ProtectProc=invisible