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