Files
aleesa-craniac/data/config_sample.json
2022-01-04 17:48:13 +03:00

33 lines
699 B
JSON

{
"server" : "redis",
"port" : "6379",
"channels" : [
"craniac"
],
# should we fork() and become unix daemon?
"daemonize" : 1,
# caches and other data goes there
"cachedir" : "data/cache",
"braindir" : "data/brains",
# unprivileged system user to run bot as
"user" : "nobody",
# logs goes there
"log" : "/var/log/aleesa-craniac/aleesa-craniac.log",
"loglevel" : "info",
# ditto
"pid" : "/var/run/aleesa-craniac/aleesa-craniac.pid",
# maximal amount of message forwardings, to avoid endless loops
"forwards_max" : 5,
"lat" : {
"brain" : "data/lat/brain.sqlite",
"src" : "data/lat.txt"
}
}