aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-02-05 17:41:40 +0000
committerMatthew Wild <mwild1@gmail.com>2020-02-05 17:41:40 +0000
commite4f830812fe66033ad1344795def93537d159d62 (patch)
tree080f24499595a791c8de48466752906478dc23ae /core
parent3fb671e0a3ebec083770b6ea0bf91b1489ebf833 (diff)
downloadprosody-e4f830812fe66033ad1344795def93537d159d62.tar.gz
prosody-e4f830812fe66033ad1344795def93537d159d62.zip
portmanager: Don't auto-start network services under prosodyctl
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 0712f5ac..2f9aa8b2 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -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