You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2025. It is now read-only.
When operating outside of the Greengrass container we should provide users with a way to indicate that they want their spawned processes to be cleaned up when the core restarts or is redeployed.
This could be done by adding a special environment variable to each process it spawns. At shutdown time we would check all of the PID we launched (or check proc to find all running PIDs) and see if they are still running and if they still contain the special variable. If they do they should be terminated.
The user should also have the option to not clean these processes up if they need them to run longer than the core's lifetime.