nixpkgs/modules/services/logging/klogd.nix
Eelco Dolstra 83a9bf9a6a * Change all the startOn / stopOn attributes to the Upstart 0.6 syntax
(e.g., startOn = "started foo" instead of startOn = "foo").

svn path=/nixos/branches/upstart-0.6/; revision=18230
2009-11-06 22:19:17 +00:00

18 lines
303 B
Nix

{ config, pkgs, ... }:
###### implementation
{
jobs.klogd =
{ description = "Kernel log daemon";
startOn = "started syslogd";
exec =
"${pkgs.sysklogd}/sbin/klogd -c 1 -2 -n " +
"-k $(dirname $(readlink -f /var/run/booted-system/kernel))/System.map";
};
}