diff --git a/service/lib/agama/proxy_setup.rb b/service/lib/agama/proxy_setup.rb index cfb59e26df..00ae9e3f88 100644 --- a/service/lib/agama/proxy_setup.rb +++ b/service/lib/agama/proxy_setup.rb @@ -66,10 +66,8 @@ def propose def install return unless Proxy.enabled - on_local do - copy_files - enable_services - end + on_local { copy_files } + enable_services end private @@ -148,6 +146,7 @@ def enable_services return end + Yast::Execute.on_target!("systemctl", "enable", "setup-systemd-proxy-env.service") Yast::Execute.on_target!("systemctl", "enable", "setup-systemd-proxy-env.path") end end