'deco stop dmd' reboots instead of panicking.
authorLudovic Courtès <ludo@gnu.org>
Thu, 14 Nov 2013 22:46:11 +0000 (23:46 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 Nov 2013 22:59:47 +0000 (23:59 +0100)
commit13a00be95e208d57976dc20d8781b3804af6bf61
treeda04b55029541df871e2a1966f8d7d7ef092df7e
parente8679e254915a5700c2e1986bb47de4a1210a159
'deco stop dmd' reboots instead of panicking.

* modules/dmd.scm (process-command): In 'quit' handler: when running as
  root, call 'reboot' instead of 'quit'.
* modules/dmd/service.scm (dmd-service)[daemonize]: Exit with
  'primitive-exit'.
modules/dmd.scm
modules/dmd/service.scm