mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
cleanup
This commit is contained in:
parent
82638455bd
commit
9b4805a56d
2 changed files with 1 additions and 8 deletions
|
@ -8,7 +8,7 @@ services = ["__APP__"]
|
||||||
name = "Configuration Options"
|
name = "Configuration Options"
|
||||||
|
|
||||||
[main.config.debug_enabled]
|
[main.config.debug_enabled]
|
||||||
ask = "Enable DEBUG mode"
|
ask = "DEBUG mode"
|
||||||
type = "boolean"
|
type = "boolean"
|
||||||
yes = "1"
|
yes = "1"
|
||||||
no = "0"
|
no = "0"
|
||||||
|
|
|
@ -67,13 +67,6 @@ ynh_script_progression --message="Stopping systemd services..." --weight=5
|
||||||
|
|
||||||
ynh_systemd_action --service_name="$app" --action="stop"
|
ynh_systemd_action --service_name="$app" --action="stop"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# Manage old settings
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Always deactivate settings.DEBUG:
|
|
||||||
ynh_app_setting_set --app=$app --key=debug_enabled --value="False"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue