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

Peter Sztan sztanpet at gmail.com
Tue Nov 29 01:26:17 PST 2011


Chris Paulson-Ellis <chris <at> edesix.com> writes:

> Is there any way to get systemd to treat the 143 exit status as normal 
> termination if it sent a SIGTERM? I'd rather not write a signal catching 
> C or shell-script wrapper around the JVM as I'll probably introduce a 
> race condition or other error.
> 
> Chris.
> 

Yes there is, see:
http://0pointer.de/public/systemd-man/systemd.service.html
the part about ExecStart.





More information about the systemd-devel mailing list