Disable units after stopping

Review Request #241 - Created Dec. 22, 2015 and submitted

Information
Stephen Gallagher
rolekit
master
Reviewers
rolekit
mitr, nphilipp, sgallagh, twoerner
If we disable the units before we call stop(), then the RequiredBy
linkage is already removed. This means that any unit that should
be controlled by the role-*.target won't actually be sent the
stop() command.

The correct thing to do here is to stop the role unit first, then
disable it.

  
Nils Philippsen
Stephen Gallagher
Review request changed

Status: Closed (submitted)

Loading...