Cancel all LUC app start operations when receiving SIGINT
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Wed, 20 Jun 2012 16:08:03 +0000 (17:08 +0100)
committerJonathan Maw <jonathan.maw@codethink.co.uk>
Thu, 21 Jun 2012 11:05:43 +0000 (12:05 +0100)
commit3889cb3c69acb2708d21c6645f473ad2aaf1d25a
treee1d113421cc3ec001f7f47b6e59fad317114be56
parent89bc365aa5fd732e3cd02a2d252968baec68e66a
Cancel all LUC app start operations when receiving SIGINT

We add a signal handler for SIGINT which calls the luc_starter_cancel()
method. luc_starter_cancel(), in turn, cancels every D-Bus call to
create a start unit job.
Unfortunately, once a start unit job has been created, cancelling will
not cancel the job to start a unit.
boot-manager/boot-manager-application.c
boot-manager/luc-starter.c
boot-manager/luc-starter.h