2009-10-12 16:36:19 +00:00
|
|
|
{ config, pkgs, ... }:
|
2008-05-08 13:47:44 +00:00
|
|
|
|
2009-03-06 12:27:23 +00:00
|
|
|
###### implementation
|
2009-10-12 16:36:19 +00:00
|
|
|
|
2008-05-08 13:47:44 +00:00
|
|
|
{
|
|
|
|
|
2009-10-12 18:09:34 +00:00
|
|
|
jobs.klogd =
|
2009-10-12 16:36:19 +00:00
|
|
|
{ description = "Kernel log daemon";
|
|
|
|
|
2009-11-06 15:46:56 +00:00
|
|
|
startOn = "started syslogd";
|
2009-10-12 16:36:19 +00:00
|
|
|
|
2009-11-06 15:46:56 +00:00
|
|
|
exec =
|
|
|
|
"${pkgs.sysklogd}/sbin/klogd -c 1 -2 -n " +
|
|
|
|
"-k $(dirname $(readlink -f /var/run/booted-system/kernel))/System.map";
|
2009-10-12 16:36:19 +00:00
|
|
|
};
|
|
|
|
|
2008-05-08 13:47:44 +00:00
|
|
|
}
|