Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
usersession: add systemd user instance service control to user session agent #7238
This PR adds an API to the user session agent to control user instance systemd services. It only aims to provide the features needed to manage user daemons, so covers
There is a single
At present, this doesn't have an option to force kill services for e.g. daemons using weird kill modes. That could probably be added later as an additional argument in the post body.
jdstrand left a comment
Since this has received reviews from others, I focused on isolation and in in general, this looks good, but would like to see a couple of additional test cases (thus, request changes). Beyond that, I think there is an opportunity for a future hardening improvement. See inline for a few other small things.