1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

RAM, factory option for uvicorn

This commit is contained in:
Chris Vogel 2024-05-10 20:07:51 +02:00
parent cd2eea1abb
commit 101ad9f73e
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ User=__APP__
Group=__APP__
WorkingDirectory=__FLOHMARKT_APP_DIR__
Environment="VENV_DIR=__FLOHMARKT_VENV_DIR__"
ExecStart=/bin/bash -c "__FLOHMARKT_VENV_DIR__/bin/uvicorn --host 127.0.0.1 --port __PORT__ flohmarkt.web:start 2>&1 | /usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%S'"
ExecStart=/bin/bash -c "__FLOHMARKT_VENV_DIR__/bin/uvicorn --factory --host 127.0.0.1 --port __PORT__ flohmarkt.web:start 2>&1 | /usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%S'"
Restart=on-failure
RestartSec=5s
# nicer logfile naming https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/38

View file

@ -44,7 +44,7 @@ ldap = false
sso = false
# **estimate** minimum disk and RAM requirements
disk = "100M"
disk = "200M"
ram.build = "200M"
ram.runtime = "100M"