Fix arrays with multiple values (#14)

* fix arrays
* Set pidfile in prosody.cfg.lua
This commit is contained in:
Sara Aimée Smiseth 2020-10-10 08:55:43 +02:00 committed by GitHub
parent ade86ee812
commit 357f4d4040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 10 deletions

View file

@ -1,7 +1,11 @@
-- see example config at https://hg.prosody.im/0.9/file/0.9.10/prosody.cfg.lua.dist
-- easily extendable by putting into different config files within conf.d folder
admins = { os.getenv("PROSODY_ADMINS") };
local stringy = require "stringy"
admins = stringy.split(os.getenv("PROSODY_ADMINS"), ", ");
pidfile = "/var/run/prosody/prosody.pid"
use_libevent = true; -- improves performance