Add/fix systemd unit descriptions

This commit is contained in:
Eelco Dolstra 2013-01-10 13:59:41 +01:00
parent 3bbbd62cbc
commit 5685ee5446
6 changed files with 10 additions and 6 deletions

@ -236,7 +236,9 @@ in
];
jobs.firewall =
{ startOn = "started network-interfaces";
{ description = "Firewall";
startOn = "started network-interfaces";
path = [ pkgs.iptables ];

@ -66,7 +66,7 @@ in
};
jobs.ntpd =
{ description = "NTP daemon";
{ description = "NTP Daemon";
wantedBy = [ "ip-up.target" ];
partOf = [ "ip-up.target" ];

@ -118,7 +118,7 @@ in
boot.blacklistedKernelModules = [ "usblp" ];
jobs.cupsd =
{ description = "CUPS printing daemon";
{ description = "CUPS Printing Daemon";
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";

@ -64,7 +64,7 @@ in
};
jobs.atd =
{ description = "at daemon (atd)";
{ description = "Job Execution Daemon (atd)";
startOn = "stopped udevtrigger";

@ -86,7 +86,7 @@ in
environment.systemPackages = [ cronNixosPkg ];
jobs.cron =
{ description = "Cron daemon";
{ description = "Cron Daemon";
startOn = "startup";

@ -389,7 +389,9 @@ in
boot.systemd.defaultUnit = mkIf cfg.autorun "graphical.target";
boot.systemd.services."display-manager" =
{ after = [ "systemd-udev-settle.service" "local-fs.target" ];
{ description = "X11 Server";
after = [ "systemd-udev-settle.service" "local-fs.target" ];
restartIfChanged = false;