-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client,cmd/snap: introduce --user, --system and --users switches for …
…snap service operations (#13368) * client,cmd/snap: introduce --user, --system and --users switches for snap service operations * client,o/servicestate: move Scope/UserSelection to client for reuse in client * client,cmd/snap: improve handling of user and scope args * NEWS: update news to reflect that we now support user daemons in start/stop/restart * cmd/snap: some review feedback on allowed input * t/main/services-user: add additional user to verify services are correctly affected * cmd/snap: do not allow --system --user together, do not allow --users with =all * tests,cmd: use --users=all in test, dont mark --users optional, enforce a value for it, add case for --system --users=all in spread test * cmd/snap: add a comment for unreachable code, and correct a couple of messages
- Loading branch information
1 parent
c3fb515
commit 261d1c2
Showing
11 changed files
with
935 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.