# HG changeset patch # User Matthew Wild # Date 1580924500 0 # Node ID 85f1cbfd364a0feca6fef8880f6cc4d9b7e05ee3 # Parent 5622eda7c5c59f6f12c039eba97b923f1c3ad5a1 portmanager: Don't auto-start network services under prosodyctl diff -r 5622eda7c5c5 -r 85f1cbfd364a core/portmanager.lua --- a/core/portmanager.lua Wed Feb 05 17:41:14 2020 +0000 +++ b/core/portmanager.lua Wed Feb 05 17:41:40 2020 +0000 @@ -170,7 +170,7 @@ 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