Add boot-manager Kill() method
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Mon, 18 Jun 2012 10:01:48 +0000 (11:01 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 19 Jun 2012 13:27:19 +0000 (14:27 +0100)
commit5b0679421bf6036c32c90b91aaed8c9753fd66e0
tree0105622ffce1882952c077883cab798063b71582
parent50832f6f8aa1bc5b5c6c59b7640743947ad73653
Add boot-manager Kill() method

The Kill() method differs from Start() and Stop() in the following ways:
- Systemd does not create jobs for KillUnit() operations, so it doesn't
  send a "job-removed" signal.
- The systemd method KillUnit() has different arguments. As well as the
  name and the mode, it also takes 'who' and 'signal' number.
  The 'who', 'mode' and 'signal' arguments currently use the default
  parameters of "all", "control-group" and SIGKILL, respectively.
boot-manager/boot-manager-application.c
boot-manager/boot-manager-service.c
boot-manager/boot-manager-service.h