-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Actually when I have sent the question I had systemd-222. now it is 223 and result is the same. Unit file is at http://webczatnet.pl/webczat/appserver.service
W dniu 2015-07-30 o 05:36, Andrei Borzenkov pisze: > В Wed, 29 Jul 2015 21:17:18 +0200 Michał Zegan > <webczat_...@poczta.onet.pl> пишет: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> Hello. > >> I am trying to use systemd to run wildfly application server. It >> is being run by a shell script that runs a java vm in a separate >> process. So, killing the script does not kill the other process. >> The service is a simple type service, and I am wondering what >> happens there on stop. when the server receives signal sigint or >> sigterm directly it logs some messages about it being stopped. >> However, when I start it and then stop, this does not happen, i >> get no message as if it was killed by sigkill. What may happen? >> the documentation says that the systemd sends sigterm to all >> processes by default (if KillMode=control-group and this is >> probably default), and then sigkill if processes do not respond >> for a configured amount of time. In this case sigterm sent to the >> shell script (the main process) causes it to exit, but then >> appserver is probably sigkilled. I know that setting sendSIGKILL >> to no makes it shudown normally. What is going on? > > Could you post your unit file and which version of systemd? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVuh3eAAoJEHb1CzgxXKwY1fIQAJKIxvtH1+9c00osb86JCR0z uTmj1vfrNCgrwNTAHcMlopAnVwFauyBuMP79/R5All0m8iZZpnQKhjUSz7h0Sl0Q IWVMlRtbZyqIjkwF4FTM1OkvqSkhuOmsXviqvfJtpAjuyAxfOcLJAQohnhA62jwA JqlNKUmSlKocwmAH3IIc3TxZn6NnDo0jBCZ8QkOQisCycpcShTMPyCbwUvShemj8 gLpBkOUkPVCjGZV3GFNBoN5rEvLjZtMVVB8+DzeM5NU5B9bodCuMJ8e4GKmuJh+V yCaS/XG7WCSZrq2C1VSBjQYipZYpgBUee2Dhg5m3xRV3TvhhgPFIwaOaw6OApqeY 8zXEwniP14LLiFcSbWW4sZmfwR3ZjFH3o+bQWK0ROBDzFn99iI+L3Tx83H6wDFxh 0j9OlQpCIodtJZ2yU8FybZ6tMdR/NRQCbYogI94QUEGfhXuKFdL4Od3RbmvB6dOy USvWfQFXVZe3TQ6tal8544QQ+CX5OQpbye3npihlk9qSkiGIhNvAhAr/DZwRz/uO MQdeHfddje1D0cDx0Wvu4BjJTCLQEOUz2K9YbYNM9Qx7JAuQDCQxfsqoz4m8mhPp Nh7MKjPvHpVvCaCluQOuCrOKI79hi2Owq7imWxrqBanEuG84AM3PVJKQCURYS06M BIKXEd/KN2sPj/cl3sYE =JhUy -----END PGP SIGNATURE----- _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel