nixpkgs/upstart-jobs/consolekit.nix
Eelco Dolstra 6663af0833 * dbus: fork() into the background so that the daemon is
running by the time the job has finished starting.  This
  obviates the need for the sleep hack in other jobs.

svn path=/nixos/trunk/; revision=14875
2009-04-03 22:04:31 +00:00

20 lines
274 B
Nix

args: with args;
let
cfg = config.services.consolekit;
in
{
name = "consolekit";
job = ''
description "Console Kit Service"
start on dbus
stop on shutdown
respawn ${pkgs.ConsoleKit}/sbin/console-kit-daemon
'';
}