1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streams_ynh.git synced 2024-09-03 20:26:20 +02:00

Attempt to fix config_panel

This commit is contained in:
dragondaddy 2023-08-04 23:00:14 +02:00
parent be90fa4def
commit 9709d978b1
2 changed files with 9 additions and 18 deletions

View file

@ -12,14 +12,10 @@ name.fr = "Configuration de Streams"
ask.en = "Memory footprint"
ask.fr = "Empreinte mémoire"
type = "select"
choices.low.en = "Low, <= 20Mb per pool"
choices.low.fr = "Basse, <= 20Mb par pool"
choices.medium.en = "Medium, between 20Mb and 40Mb par pool"
choices.medium.fr = "Moyenne, entre 20Mb et 40Mb par pool"
choices.high.en = "High, > 40Mb per pool"
choices.high.fr = "Haute, > 40Mb par pool"
choices.specific.en = "Use specific value"
choices.specific.fr = "Utiliser une valeur précise"
choices.low = "low, <= 20Mb per pool"
choices.medium = "medium, between 20Mb and 40Mb par pool"
choices.high = "High, > 40Mb per pool"
choices.specific = "Use specific value"
default = "medium"
[main.php_fpm_config.fpm_free_footprint]
@ -35,12 +31,7 @@ name.fr = "Configuration de Streams"
ask.en = "Expected usage"
ask.fr = "Utilisation prévue"
type = "select"
choices.low.en = "Low"
choices.low.fr = "Minime"
choices.medium.en = "Medium"
choices.medium.fr = "Moyenne"
choices.high.en = "High"
choices.high.fr = "Intensive"
choices = ["low", "medium", "high"]
default = "medium"
help.en = "<strong>Low</strong>: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.<br><strong>Medium</strong>: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.<br><strong>High</strong>: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."
help.fr = "<strong>Faible</strong> : Utilisation personnelle, derrière le SSO. Pas d'empreinte RAM en cas de non-utilisation, mais l'impact sur le processeur peut être élevé si de nombreux utilisateurs utilisent le service.<br><strong>Moyenne</strong> : Faible utilisation, peu d'utilisateurs et/ou service pas nécessairement accessible au public. Faible empreinte RAM, empreinte moyenne sur le processeur en cas d'utilisation.<br><strong>Intensive</strong> : Utilisation soutenue, site web fréquemment visité. L'empreinte RAM est élevée, mais l'utilisation du processeur est moindre et le service répond rapidement."
help.en = "<strong>low</strong>: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.<br><strong>medium</strong>: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.<br><strong>high</strong>: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."
help.fr = "<strong>low</strong> : Utilisation personnelle, derrière le SSO. Pas d'empreinte RAM en cas de non-utilisation, mais l'impact sur le processeur peut être élevé si de nombreux utilisateurs utilisent le service.<br><strong>medium</strong> : Faible utilisation, peu d'utilisateurs et/ou service pas nécessairement accessible au public. Faible empreinte RAM, empreinte moyenne sur le processeur en cas d'utilisation.<br><strong>high</strong> : Utilisation soutenue, site web fréquemment visité. L'empreinte RAM est élevée, mais l'utilisation du processeur est moindre et le service répond rapidement."

View file

@ -16,9 +16,9 @@ source /usr/share/yunohost/helpers
email=$(ynh_user_get_info --username=$admin --key=mail)
upload="256M"
random_string="$(ynh_string_random --length=48)"
fpm_footprint="low"
fpm_footprint="medium"
fpm_free_footprint=0
fpm_usage="low"
fpm_usage="medium"
#=================================================
# STORE SETTINGS FROM MANIFEST