update template

This commit is contained in:
meaz 2021-12-18 12:11:16 +01:00
parent 9477b52dd2
commit f3f466d385
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
2 changed files with 10 additions and 54 deletions

View File

@ -42,6 +42,7 @@ etherpad_ratelimit_duration: '1'
etherpad_ratelimit_points: '100'
etherpad_loglevel: 'INFO'
etherpad_logfile: '/var/log/etherpad-lite.log'
etherpad_dumpOnUncleanExit: 'false'
etherpad_error_log_recipient: 'support@example.com'
etherpad_smtp_host: 'localhost'
etherpad_smtp_port: '587'

View File

@ -96,8 +96,10 @@
"title": "{{ etherpad_instance_name }}",
/*
* favicon default name
* alternatively, set up a fully specified Url to your own favicon
* Pathname of the favicon you want to use. If null, the skin's favicon is
* used if one is provided by the skin, otherwise the default Etherpad favicon
* is used. If this is a relative path it is interpreted as relative to the
* Etherpad root directory.
*/
"favicon": "favicon.ico",
@ -507,6 +509,11 @@
*/
"loadTest": false,
/**
* Disable dump of objects preventing a clean exit
*/
"dumpOnUncleanExit": {{ etherpad_dumpOnUncleanExit }},
/*
* Disable indentation on new line when previous line ends with some special
* chars (':', '[', '(', '{')
@ -597,58 +604,6 @@
*/
"loglevel": "{{ etherpad_loglevel }}",
/*
* Logging configuration. See log4js documentation for further information:
* https://github.com/nomiddlename/log4js-node
*
* You can add as many appenders as you want here.
*/
"logconfig" :
{ "appenders": [
{ "type": "console"
//, "category": "access"// only logs pad access
}
/*
, { "type": "file"
, "filename": "{{ etherpad_logfile }}"
, "maxLogSize": 1024
, "backups": 3 // how many log files there're gonna be at max
//, "category": "test" // only log a specific category
}
*/
/*
, { "type": "logLevelFilter"
, "level": "warn" // filters out all log messages that have a lower level than "error"
, "appender":
{ Use whatever appender you want here }
}
*/
/*
, { "type": "logLevelFilter"
, "level": "error" // filters out all log messages that have a lower level than "error"
, "appender":
{ "type": "smtp"
, "subject": "An error occurred in your EPL instance!"
, "recipients": "{{ etherpad_error_log_recipient }}"
, "sendInterval": 300 // 60 * 5 = 5 minutes -- will buffer log messages; set to 0 to send a mail for every message
, "transport": "SMTP", "SMTP": { // see https://github.com/andris9/Nodemailer#possible-transport-methods
"host": "{{ etherpad_smtp_host }}", "port": {{ etherpad_smtp_port }},
"secureConnection": true,
"auth": {
"user": "{{ etherpad_smtp_user }}",
"pass": "{{ etherpad_smtp_pass }}"
}
}
}
}
*/
]
}, // logconfig
/* Override any strings found in locale directories */
"customLocaleStrings": {},