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
d946ee4079
commit
d692e80558
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
[Unit]
|
||||
Description=__APP__ application server
|
||||
After=network.target postgresql.service redis.service
|
||||
|
@ -19,7 +18,7 @@ TemporaryFileSystem=/var /run
|
|||
#PrivateUsers=true
|
||||
PrivateDevices=true
|
||||
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
|
||||
MemoryDenyWriteExecute=true
|
||||
PrivateMounts=true
|
||||
|
@ -37,7 +36,7 @@ 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
|
||||
#SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
|
||||
|
||||
# Denying access to capabilities that should not be relevant for webapps
|
||||
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||
|
|
Loading…
Add table
Reference in a new issue