Bug 77415 - Default KillSignal not SigTerm
Summary: Default KillSignal not SigTerm
Status: RESOLVED INVALID
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 04:52 UTC by vimregisters
Modified: 2014-04-15 08:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description vimregisters 2014-04-14 04:52:06 UTC
I have some applications that are launched by systemd -user. These are the applications that I want to exit cleanly on every reboot or when exiting X.

google-chrome is one of them.

In my [Service] section, I have:

KillMode=process

But whenever I use 'systemctl --user stop chrome' or 'systemctl --user default', on relaunch, chrome would complain about not being shutdown correctly.. I fixed this by adding KillSignal=SIGTERM in addition to KillMode. Odd that I had to add that since the Man page told me that KillSignal already defaults to SIGTERM.
Comment 1 vimregisters 2014-04-15 08:10:31 UTC
Hmm I'm marking this as INVALID because I tested this again, and it seems to work..

Either it works intermittenly, or I got mixed up with bug 77416


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.