nixpkgs/modules/services/logging/klogd.nix

20 lines
306 B
Nix
Raw Normal View History

{ 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 /run/booted-system/kernel))/System.map";
};
}