Update bookwyrm-server.service

This commit is contained in:
Thomas 2023-11-08 16:41:02 +01:00 committed by GitHub
parent f9e7328a7b
commit 5432626842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,13 @@ ExecStart=__INSTALL_DIR__/venv/bin/gunicorn bookwyrm.wsgi:application --bind 127
#ProtectSystem=strict
ProtectHome=tmpfs
#InaccessiblePaths=-/media -/mnt -/srv
InaccessiblePaths=-/media -/mnt -/srv
PrivateTmp=yes
#TemporaryFileSystem=/var /run
#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