nixpkgs-suyu/modules/services/logging/klogd.nix

18 lines
303 B
Nix
Raw Normal View History

{ 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";
};
}