canonical / pebble

Take control of your internal daemons!
https://canonical-pebble.readthedocs-hosted.com/
GNU General Public License v3.0
143 stars 54 forks source link

refactor: pull in the snapd RestartManager refactoring #446

Closed benhoyt closed 1 month ago

benhoyt commented 1 month ago

This is based on https://github.com/snapcore/snapd/pull/12166 (though the diff was applied more or less manually, as the patch couldn't be applied directly).

It includes the name changes to the restart.Handler interface methods.

dmitry-lyfar commented 1 month ago

@benhoyt everything looks good to me!