From 2d216cf241f3876e1ffc11f84339737fefa5dee9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 4 Nov 2016 15:24:58 +0000 Subject: [PATCH] Fix settings --- src/freedombone-app-etherpad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-etherpad b/src/freedombone-app-etherpad index b3acc8ae..9a6698be 100755 --- a/src/freedombone-app-etherpad +++ b/src/freedombone-app-etherpad @@ -186,8 +186,8 @@ function create_etherpad_settings { echo ' { "appenders": [' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' { "type": "console"' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' //, "category": "access"// only logs pad access' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json - echo ' }' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json - echo ' , { "type": "logLevelFilter"' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json + echo ' },' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json + echo ' { "type": "logLevelFilter"' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' , "level": "error" // filters out all log messages that have a lower level than "error"' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' , "appender":' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' { "type": "smtp"' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json @@ -199,6 +199,7 @@ function create_etherpad_settings { echo ' "secureConnection": false,' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' }' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' }' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json + echo ' }' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' ]' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo ' }' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json echo '}' >> /var/www/${ETHERPAD_DOMAIN_NAME}/htdocs/settings.json