Skip to content

Commit

Permalink
added systemd-logind.service to the restart list
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jun 24, 2014
1 parent 80ad17f commit ce560a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/clients/inst_autoconfigure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ def main
"YaST2-Second-Stage.service",
"autoyast-initscripts.service"
]
@ser_no_restart = ["systemd-logind.service"]

logStep(_("Restarting all running services"))
@cmd = "systemctl --type=service list-units | grep \" running \" | sed s/[[:space:]].*//"
Expand All @@ -274,7 +273,7 @@ def main
) { |s| Ops.greater_than(Builtins.size(s), 0) }
Builtins.y2milestone("running services \"%1\"", @sl)
@sl = Builtins.filter(@sl) do |s|
!Builtins.contains(Builtins.union(@ser_ignore, @ser_no_restart), s)
!Builtins.contains(@ser_ignore, s)
end
Builtins.y2milestone("restarting services \"%1\"", @sl)
@cmd = Ops.add(
Expand Down

0 comments on commit ce560a7

Please sign in to comment.