nixpkgs/modules/services/logging/klogd.nix
Eelco Dolstra 8eba736da9 * Use the ‘path’ attribute in Upstart jobs in more places. It's a bit
more readable (also in "ps" output).

svn path=/nixos/trunk/; revision=30565
2011-11-25 16:32:54 +00:00

19 lines
310 B
Nix

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