Move remaining defaults from entrypoint script to cfg.lua files.

This commit is contained in:
Sara Aimée Smiseth 2023-09-17 11:43:19 +02:00
parent 5d73416ac4
commit 6a269445d7
5 changed files with 24 additions and 25 deletions

View file

@ -3,7 +3,8 @@
local stringy = require "stringy"
admins = stringy.split(os.getenv("PROSODY_ADMINS"), ", ");
local prosody_admins = os.getenv("PROSODY_ADMINS") or "";
admins = stringy.split(prosody_admins, ", ");
pidfile = "/var/run/prosody/prosody.pid"