mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
further try
This commit is contained in:
parent
508b3b4995
commit
3fa5f005d4
2 changed files with 1 additions and 7 deletions
|
@ -15,7 +15,7 @@ ProtectSystem=strict
|
||||||
ProtectHome=tmpfs
|
ProtectHome=tmpfs
|
||||||
#InaccessiblePaths=-/media -/mnt -/srv
|
#InaccessiblePaths=-/media -/mnt -/srv
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
TemporaryFileSystem=/var /run
|
#TemporaryFileSystem=/var /run
|
||||||
#PrivateUsers=true
|
#PrivateUsers=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
BindReadOnlyPaths=__INSTALL_DIR__
|
BindReadOnlyPaths=__INSTALL_DIR__
|
||||||
|
|
|
@ -32,12 +32,6 @@ ProtectControlGroups=true
|
||||||
RestrictRealtime=true
|
RestrictRealtime=true
|
||||||
RestrictNamespaces=net
|
RestrictNamespaces=net
|
||||||
|
|
||||||
NoNewPrivileges=yes
|
|
||||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
||||||
DevicePolicy=closed
|
|
||||||
ProtectProc=invisible
|
|
||||||
SystemCallArchitectures=native
|
|
||||||
#SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
|
|
||||||
|
|
||||||
# Denying access to capabilities that should not be relevant for webapps
|
# Denying access to capabilities that should not be relevant for webapps
|
||||||
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue