Bug 63869 - Quit properly when receiving SIGINT or SIGTERM
Summary: Quit properly when receiving SIGINT or SIGTERM
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 09:08 UTC by Stef Walter
Modified: 2013-05-11 19:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Quit properly when receiving SIGINT or SIGTERM (1.28 KB, patch)
2013-04-24 09:08 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2013-04-24 09:08:28 UTC
Add unix signal handlers so that we can quite the mainloop and terminate
cleanly when Ctrl-C or SIGTERM. This allows better debugging of
accounts-daemon, allows stuff to run after main() returns, such
as gcov hooks.
Comment 1 Stef Walter 2013-04-24 09:08:31 UTC
Created attachment 78410 [details] [review]
Quit properly when receiving SIGINT or SIGTERM

This allows us to better debug accounts-daemon, as well as
use tools like git coverage on it.


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.