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
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-linuxindependently of running it to start a sandbox service.The need for this may not be as pressing now that we don't
runAtLoadthe containers when we load them at startup, but we can future-proof these plugins by requiring that all service plugins implement astartsubcommand for running the actual service. Forcontainer-runtime-linux, this allows adding aprepor similar command to do the alert trigger, when and if we need it.Initially we can make
startbackward compatible by using thedefaultCommandcapability of swift-argument-parser. In a couple of releases we can make the breaking change of removing thedefaultCommandand providing either a migration command or script for container plists that still don't usestart.Code of Conduct