mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-04 05:00:39 +00:00
Fix arrays with multiple values (#14)
* fix arrays * Set pidfile in prosody.cfg.lua
This commit is contained in:
parent
ade86ee812
commit
357f4d4040
6 changed files with 22 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue