Skip to content

Support running as PID 1 #140

@Marwes

Description

@Marwes

When running watchexec (really, cargo-watch) in a docker container I would like that the watchexec process shutsdown when I request that the docker container shutsdown.

Currently SIGTERM is handled and sent to the child process which shutsdown my program as expected, but after that nothing happens. What I would like is that watchexec, after seeing the child process shutdown also shutsdown itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: LinuxAffects Linux specificallyhas workaroundBug has a workaround, so it might not need urgent attentionimprovementMaking an existing feature better, rather than a new one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions