1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/django-fmd_ynh.git synced 2024-09-03 18:26:27 +02:00

small changes

This commit is contained in:
JensDiemer 2022-08-16 08:59:39 +02:00
parent 882a811389
commit 90282a4a22
2 changed files with 28 additions and 12 deletions

View file

@ -3,18 +3,34 @@
version = "1.0" version = "1.0"
[main] [main]
name = "Settings" services = ["__APP__"]
[main.findmydevice_config] [main.config]
name = "django-fmd configuration" name = "Configuration Options"
# Trigger a service reload-or-restart after the user change a question in this panel [main.config.default_from_email]
services = ["__APP__"] ask = "from email"
type = "string"
help = "Default email address to use for various automated emails."
bind = "default_from_email:__FINALPATH__/settings.py"
[main.findmydevice_config.django_debug] [main.config.admin_email]
ask = "debug mode" ask = "ADMIN email"
help = "Important: Never activate this settings.DEBUG on production!" type = "string"
help = "EMail address for error emails."
bind = "admin_email:__FINALPATH__/settings.py"
[main.config.debug_enabled]
ask = "DEBUG mode"
type = "boolean" type = "boolean"
yes = "True" yes = "1"
no = "False" no = "0"
bind = "DJANGO_DEBUG:__FINALPATH__/local_settings.py" help = "Should be never enabled in production!"
bind = "debug_enabled:__FINALPATH__/settings.py"
[main.config.log_level]
type = "string"
ask = "Log Level"
choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
default = "WARNING"
bind = "log_level:__FINALPATH__/settings.py"

View file

@ -23,7 +23,7 @@
}, },
"multi_instance": false, "multi_instance": false,
"services": [ "services": [
"nginx" "nginx", "postgresql", "redis"
], ],
"arguments": { "arguments": {
"install" : [ "install" : [