Bug 77415

Summary: Default KillSignal not SigTerm
Product: systemd Reporter: vimregisters
Component: generalAssignee: systemd-bugs
Status: RESOLVED INVALID QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.