Skip to content

launch.script should not get in the way of sigterm propagation #15229

Open
@Johnlon

Description

@Johnlon

Because the run() function omits the use of "exec" it leaves a useless (??) shell script process running once the java has invoked.

As it stands when this shell parent process receives a SIGTERM then it doesn't pass it on to Java and the Java process is left lying around. This interferes with process management in some instances.

Could the run function be modified to use the "exec" shell command to dispense with the parent process? (see issue 5273)

If we can't modify the existing run for some then can we have an alternative that does an exec or provide an option to modify the behaviour of run, or even an option to customise the start script?

Thanks

See also #5273

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions