[systemd-devel] Cannot make java exit 0 on SIGTERM

Lennart Poettering lennart at poettering.net
Mon Feb 20 07:57:56 PST 2012


On Thu, 16.02.12 22:53, mokasin (mok4sin at googlemail.com) wrote:

> > failure exit codes)
> >
> > Lennart
> >
> 
> It seems also to ignore an exit code due to an error.
> 
> If the service failed to start for an actual reason, wouldn't systemd
> fail to recognize it?

Yes, we prefixing with "-" ensures that all unclean exit results of a
process are considered OK, which precise signal codes and retvals those
are you cannot specify.

I don't think it makes too much sense to make this
configurable. 

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list