mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-08 14:50:30 +00:00
wip tests
This commit is contained in:
parent
d2065b426b
commit
1be1cc5bf7
9 changed files with 88 additions and 18 deletions
|
@ -1,11 +1,27 @@
|
|||
-- 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") };
|
||||
|
||||
print("Hello")
|
||||
print("World")
|
||||
print(os.getenv("PROSODY_ADMINS"));
|
||||
|
||||
local stringy = require "stringy"
|
||||
|
||||
print(stringy.split(os.getenv("PROSODY_ADMINS"), ","))
|
||||
print(stringy.split(os.getenv("PROSODY_ADMINS"), ", "))
|
||||
|
||||
admins = stringy.split(os.getenv("PROSODY_ADMINS"), ", ");
|
||||
|
||||
print(admins);
|
||||
|
||||
pidfile = "/var/run/prosody/prosody.pid"
|
||||
|
||||
use_libevent = true; -- improves performance
|
||||
|
||||
allow_registration = os.getenv("ALLOW_REGISTRATION");
|
||||
print("allow_registration:")
|
||||
print(allow_registration)
|
||||
|
||||
c2s_require_encryption = os.getenv("C2S_REQUIRE_ENCRYPTION");
|
||||
s2s_require_encryption = os.getenv("S2S_REQUIRE_ENCRYPTION");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue