-
Notifications
You must be signed in to change notification settings - Fork 584
Description
Feature or enhancement request details
For #370 we need a way to run a one-time action (triggering the local network privacy alert) for container-runtime-linux independently of running it to start a sandbox service.
The need for this may not be as pressing now that we don't runAtLoad the containers when we load them at startup, but we can future-proof these plugins by requiring that all service plugins implement a start subcommand for running the actual service. For container-runtime-linux, this allows adding a prep or similar command to do the alert trigger, when and if we need it.
Initially we can make start backward compatible by using the defaultCommand capability of swift-argument-parser. In a couple of releases we can make the breaking change of removing the defaultCommand and providing either a migration command or script for container plists that still don't use start.
Code of Conduct
- I agree to follow this project's Code of Conduct