slimtoolkit / slim

Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
19.33k stars 724 forks source link

[feat] Standalone control commands #596

Closed iximiuz closed 11 months ago

iximiuz commented 11 months ago

To control sensor execution when running in the standalone mode. This PR ships the machinery and the very first command:

/opt/_slim/sensor control stop-target-app

The command writes to the commands FIFO file and then waits for the StopMonitorDone event to show up in the events file.