From d9b49831cf878bf45d5d72aa5e2909b4b4d82a93 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Tue, 7 Jul 2020 08:46:01 -0400 Subject: [PATCH] Remove the extra env var for systemd configuration We already have a per-worker setting to disable systemd so an extra environment variable isn't necessary. --- app/models/miq_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/miq_worker.rb b/app/models/miq_worker.rb index e984a8d0a76..1d5671f76c0 100644 --- a/app/models/miq_worker.rb +++ b/app/models/miq_worker.rb @@ -316,7 +316,7 @@ def containerized_worker? end def self.systemd_worker? - ENV['MIQ_SYSTEMD_WORKERS'] && MiqEnvironment::Command.supports_systemd? && supports_systemd? + MiqEnvironment::Command.supports_systemd? && supports_systemd? end def systemd_worker?