Skip to content

Init daemon to manage all running processes #54

Open
@Gerschtli

Description

@Gerschtli

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions