Skip to content

Commit

Permalink
Enable service in target
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Aug 24, 2023
1 parent 773dc5a commit fee7ad4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions service/lib/agama/proxy_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fee7ad4

Please sign in to comment.