From d62f0b5874af13594679056881727a76111409c8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 9 Nov 2021 08:10:33 +0100 Subject: [PATCH] Fix --- conf/config.json | 2 +- scripts/install | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/config.json b/conf/config.json index 8fc3d81..c4afd20 100644 --- a/conf/config.json +++ b/conf/config.json @@ -172,7 +172,7 @@ "EnableFile": true, "FileLevel": "INFO", "FileJson": true, - "FileLocation": "__LOGS_PATH__", + "FileLocation": "/var/log/__APP__", "AdvancedLoggingConfig": "" }, "PasswordSettings": { diff --git a/scripts/install b/scripts/install index 2f47b53..ce98dfa 100644 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,6 @@ ynh_script_progression --message="Modifying a config file..." --weight=3 smtp_user_pwd=$(ynh_string_random --length=24) url=https://$domain$path_url -logs_path="/var/log/$app" local_socket_path="/var/run/${app}/mattermost_local.socket" ynh_add_config --template="../conf/config.json" --destination="$final_path/config/config.json"