1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Kick out analytics

Following https://github.com/YunoHost-Apps/mattermost_ynh/issues/26
This commit is contained in:
Maniack Crudelis 2017-05-24 12:29:01 +02:00 committed by GitHub
parent 154d16e30c
commit 51304ddaea

View file

@ -96,6 +96,7 @@ sudo sed -i "s|\"SMTPPort\": \"\"|\"SMTPPort\": \"25\"|g"
sudo sed -i "s|\"EnableConsole\": true|\"EnableConsole\": false|g" $final_path/config/config.json sudo sed -i "s|\"EnableConsole\": true|\"EnableConsole\": false|g" $final_path/config/config.json
sudo sed -i "s|\"FileLocation\": \"\"|\"FileLocation\": \"/var/log/mattermost.log\"|g" $final_path/config/config.json sudo sed -i "s|\"FileLocation\": \"\"|\"FileLocation\": \"/var/log/mattermost.log\"|g" $final_path/config/config.json
sudo sed -i "s|\"EnableDiagnostics\": true|\"EnableDiagnostics\": false|g" $final_path/config/config.json
# Set permissions to app directories # Set permissions to app directories
sudo chown -R www-data: $final_path sudo chown -R www-data: $final_path