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
5432626842
commit
f308179daa
1 changed files with 3 additions and 3 deletions
|
@ -11,15 +11,15 @@ WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/.env
|
EnvironmentFile=__INSTALL_DIR__/.env
|
||||||
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn bookwyrm.wsgi:application --bind 127.0.0.1:__PORT__
|
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn bookwyrm.wsgi:application --bind 127.0.0.1:__PORT__
|
||||||
|
|
||||||
#ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ProtectHome=tmpfs
|
ProtectHome=tmpfs
|
||||||
InaccessiblePaths=-/media -/mnt -/srv
|
InaccessiblePaths=-/media -/mnt -/srv
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
#TemporaryFileSystem=/var /run
|
#TemporaryFileSystem=/var /run
|
||||||
#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
|
||||||
|
|
Loading…
Add table
Reference in a new issue