Update bookwyrm-server.service

This commit is contained in:
Thomas 2023-11-09 08:28:27 +01:00 committed by GitHub
parent 37df85b231
commit b60cbe0d41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,11 +15,11 @@ ProtectSystem=strict
ProtectHome=tmpfs
InaccessiblePaths=-/media -/mnt -/srv
PrivateTmp=yes
#TemporaryFileSystem=/var
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