mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
Update bookwyrm-server.service
This commit is contained in:
parent
98bb4300b6
commit
1880afaabf
1 changed files with 7 additions and 7 deletions
|
@ -17,8 +17,8 @@ PrivateTmp=yes
|
|||
TemporaryFileSystem=/var /run /opt __INSTALL_DIR__
|
||||
#PrivateUsers=true
|
||||
PrivateDevices=true
|
||||
#BindReadOnlyPaths=__INSTALL_DIR__
|
||||
#BindPaths=__INSTALL_DIR__/images __INSTALL_DIR__/static /var/run/postgresql
|
||||
BindReadOnlyPaths=__INSTALL_DIR__
|
||||
BindPaths=__INSTALL_DIR__/images __INSTALL_DIR__/static /var/run/postgresql
|
||||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=true
|
||||
PrivateMounts=true
|
||||
|
@ -31,11 +31,11 @@ ProtectControlGroups=true
|
|||
RestrictRealtime=true
|
||||
RestrictNamespaces=net
|
||||
|
||||
NoNewPrivileges=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
||||
DevicePolicy=closed
|
||||
ProtectProc=invisible
|
||||
SystemCallArchitectures=native
|
||||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue