83a9bf9a6a
(e.g., startOn = "started foo" instead of startOn = "foo"). svn path=/nixos/branches/upstart-0.6/; revision=18230
17 lines
303 B
Nix
17 lines
303 B
Nix
{ 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";
|
|
};
|
|
|
|
}
|