diff --git a/app/models/miq_worker.rb b/app/models/miq_worker.rb index fdfa027d1448..e984a8d0a764 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? - MiqEnvironment::Command.supports_systemd? && supports_systemd? + ENV['MIQ_SYSTEMD_WORKERS'] && MiqEnvironment::Command.supports_systemd? && supports_systemd? end def systemd_worker? @@ -324,7 +324,7 @@ def systemd_worker? end def start_runner - if ENV['MIQ_SYSTEMD_WORKERS'] && systemd_worker? + if systemd_worker? start_systemd_worker elsif containerized_worker? start_runner_via_container diff --git a/config/settings.yml b/config/settings.yml index 5fef94c6447b..101b81ca2f3a 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -1090,7 +1090,7 @@ :poll_method: :normal :starting_timeout: 10.minutes :stopping_timeout: 10.minutes - :systemd_enabled: true + :systemd_enabled: false :agent_coordinator_worker: :heartbeat_timeout: 30.minutes :poll: 30.seconds