prosody: Switch to flag instead of config for daemonize

This commit is contained in:
Matthew Wild 2021-01-29 17:32:47 +00:00
parent a301eb4bb7
commit 1947781554
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ if prosody.process_type == "prosody" and not prosody.config_loaded then
_G.ltn12 = require "ltn12";
end
daemonize = false
network_backend = "epoll"
plugin_paths = { "/etc/prosody/modules" }

View File

@ -2,7 +2,7 @@
nodaemon=true
[program:prosody]
command=/usr/bin/lua5.2 /usr/bin/prosody
command=/usr/bin/lua5.2 /usr/bin/prosody -F
priority=1000
autorestart=true
stopwaitsecs=30