Skip to content

Document how to ensure bash-script processes exit properly #772

Open
@edbrannin

Description

@edbrannin

It would be rather helpful if the Subprocess page in supervisor's documentation mentioned the fixes listed in How to propagate SIGTERM to a child process in a Bash script.

Short version: if supervisor is starting a bash-wrapper around another process, that wrapper should either:

  1. exec the other process on its last line
  2. Explicitly handle the SIGTERM with trap/wait

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions