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

View File

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

View File

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

View File

@ -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";

View File

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

View File

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

View File

@ -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;