mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
83a9bf9a6a
(e.g., startOn = "started foo" instead of startOn = "foo"). svn path=/nixos/branches/upstart-0.6/; revision=18230
18 lines
303 B
Nix
18 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";
|
|
};
|
|
|
|
}
|