http://bugzilla.moblin.org/show_bug.cgi?id=7555
yongsheng zhu <yongsheng.zhu(a)intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yongsheng.zhu(a)intel.com
--- Comment #1 from yongsheng zhu <yongsheng.zhu(a)intel.com> 2009-10-29 23:16:11
---
(In reply to comment #0)
While it is true that the server will run as a daemon most of the
time, that
doesn't mean that it will never receive a SIGINT or SIGTERM. The signals might
be sent because the user logs out while a sync is running in the background. So
the syncevo-dbus-server should handle CTRL-C and SIGINT/SIGTERM gracefully.
I'm not sure whether we currently distinguish between SIGINT and SIGTERM in our
abort/suspend handling. We might change it so that SIGINT requests a suspend
and aborts only when sent quickly in a row, whereas SIGTERM aborts immediately.
currently we only use 'SIGINT' for abort/suspend handling. One
'CTRL-C'press is
to suspend and 2 'CTRL-C' presses in 2 secondes are to abort the sync
immediately.
'SIGTERM' is to close the process. I'd like to follow this behavior.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.