DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Handle Restart Dependencies

Open tgauth opened this issue 1 year ago • 1 comments

Summary of the new feature / enhancement

Relating to #50, as a user I want to know any dependencies of my process/service that needs restarting so that I'm fully aware of the impacts/overhead of restarting.

Proposed technical implementation details (optional)

No response

tgauth avatar Jun 06 '24 19:06 tgauth

From the meeting, I think two different aspects should be covered:

  • dependents that are affected
  • other things that need to be restarted for configuration to take effect

Perhaps we can have two additional optional top level properties to _restartRequired:

_restartRequired:
  service:
    name: sshd
    id: 1234
  dependentsAffected:
    service:
      name: foo
      id: 1234
    process:
      name: bar
      id: 1234
  restartRequired:
    service:
      name: hello
    process:
      name: world  

Where both are arrays. Still would need a real world scenario for restartRequired that would not include dependents that auto-restart if the top service/process is restarted.

SteveL-MSFT avatar Jun 06 '24 19:06 SteveL-MSFT