mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
portmanager: Don't auto-start network services under prosodyctl
This commit is contained in:
parent
5fadc67e4f
commit
84c6ebd007
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ end
|
|||
local function register_service(service_name, service_info)
|
||||
table.insert(services[service_name], service_info);
|
||||
|
||||
if not active_services:get(service_name) then
|
||||
if not active_services:get(service_name) and prosody.process_type == "prosody" then
|
||||
log("debug", "No active service for %s, activating...", service_name);
|
||||
local ok, err = activate(service_name);
|
||||
if not ok then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue