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__
|
TemporaryFileSystem=/var /run /opt __INSTALL_DIR__
|
||||||
#PrivateUsers=true
|
#PrivateUsers=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
#BindReadOnlyPaths=__INSTALL_DIR__
|
BindReadOnlyPaths=__INSTALL_DIR__
|
||||||
#BindPaths=__INSTALL_DIR__/images __INSTALL_DIR__/static /var/run/postgresql
|
BindPaths=__INSTALL_DIR__/images __INSTALL_DIR__/static /var/run/postgresql
|
||||||
LockPersonality=yes
|
LockPersonality=yes
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
PrivateMounts=true
|
PrivateMounts=true
|
||||||
|
@ -31,11 +31,11 @@ ProtectControlGroups=true
|
||||||
RestrictRealtime=true
|
RestrictRealtime=true
|
||||||
RestrictNamespaces=net
|
RestrictNamespaces=net
|
||||||
|
|
||||||
NoNewPrivileges=yes
|
#NoNewPrivileges=yes
|
||||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
#RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
||||||
DevicePolicy=closed
|
#DevicePolicy=closed
|
||||||
ProtectProc=invisible
|
#ProtectProc=invisible
|
||||||
SystemCallArchitectures=native
|
#SystemCallArchitectures=native
|
||||||
#SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
|
#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
|
||||||
|
|
Loading…
Add table
Reference in a new issue