First adoption step for production use with telegram frontend

This commit is contained in:
eleksir
2021-12-26 14:57:38 +03:00
parent 23f7b5c602
commit 1c82a2ec0e
6 changed files with 234 additions and 114 deletions

View File

@@ -1,15 +1,20 @@
{
# server address
"server" : "redis",
"port" : "6379",
# inbound redis channels, where we subscribed
"channels": [
"craniac",
],
# should we fork() and become unix daemon?
"daemonize": 1,
# where caches go there
# caches and other data goes there
"cachedir" : "data/cache",
"braindir" : "data/brains",
# unprivileged system user to run bot as
# unprivileged system user to run bot as
"user" : "nobody",
# logs goes there
@@ -17,5 +22,5 @@
"loglevel": "notice",
# ditto
"pid" : "/var/run/aleesa-craniac/aleesa-craniac.pid",
"pid" : "/var/run/aleesa-craniac/aleesa-craniac.pid"
}