Open
Description
Hey, in the last weeks I was trying to build service-like modules, e.g. an sshd service that will execute some commands before starting like generating a host key and start the sshd daemon. To stop it, you have to kill the process, which needs to be done on exiting the app, if not it will run in the background.
Similar problem with ssh-agent
, the agent will not be killed on exiting the app.
Of course one could define for these commands services and let login-inner stop all running services on app exit, but this is not really error-prone.
That is why I thought of something like an init daemon, so that all processes started will be killed, when killing the init daemon.
Thats all I have for now. What do you thing? Have you another/a better idea?
Metadata
Metadata
Assignees
Labels
No labels