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

config: missing type

This commit is contained in:
Tagadda 2022-02-01 18:36:24 +00:00
parent 2231f5bb4f
commit 325d0ac03a

View file

@ -23,11 +23,13 @@ name = "My webapp configuration"
[main.php_fpm_config.phpversion] [main.php_fpm_config.phpversion]
ask = "PHP version" ask = "PHP version"
type = "select"
choices = ["none", "7.3", "7.4", "8.0"] choices = ["none", "7.3", "7.4", "8.0"]
default = "none" default = "none"
[main.php_fpm_config.fpm_footprint] [main.php_fpm_config.fpm_footprint]
ask = "Memory footprint of the service?" ask = "Memory footprint of the service?"
type = "select"
choices = ["low", "medium", "high", "specific"] choices = ["low", "medium", "high", "specific"]
default = "low" default = "low"
visible = '! match(phpversion, "none")' visible = '! match(phpversion, "none")'
@ -41,6 +43,7 @@ name = "My webapp configuration"
help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values." help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values."
[main.php_fpm_config.fpm_usage] [main.php_fpm_config.fpm_usage]
type = "select"
ask = "Expected usage of the service?" ask = "Expected usage of the service?"
choices = ["low", "medium", "high"] choices = ["low", "medium", "high"]
default = "low" default = "low"