41 lines
861 B
JSON
41 lines
861 B
JSON
{
|
|
# server address
|
|
"server" : "redis",
|
|
"port" : "6379",
|
|
"channels": [
|
|
"webapp"
|
|
],
|
|
|
|
# should we fork() and become unix daemon?
|
|
"daemonize": 1,
|
|
|
|
# where caches go there
|
|
"cachedir" : "data/cache",
|
|
|
|
# unprivileged system user to run bot as
|
|
"user" : "nobody",
|
|
|
|
# logs goes there
|
|
"log" : "/var/log/aleesa-webapp/aleesa-webapp.log",
|
|
"loglevel": "notice",
|
|
|
|
# ditto
|
|
"pid" : "/var/run/aleesa-webapp/aleesa-webapp.pid",
|
|
|
|
# maximal amount of message forwardings, to avoid endless loops
|
|
"forwards_max" : 5,
|
|
|
|
"openweathermap" : {
|
|
"appid": "get_it_on_openweathermap.org"
|
|
},
|
|
|
|
"image": {
|
|
"dir" : "data/image",
|
|
"flickr" : {
|
|
"consumer_key" : "key",
|
|
"consumer_secret" : "key_secret",
|
|
"verifier": "verifier_key"
|
|
}
|
|
}
|
|
}
|