treewide: minor format / style / documentation fixes
commit3ada966bd579b63b2259b97018520e94cf9a4489
authorAlexander Ried <ried@mytum.de>
dateThu 8 Sep 2016, 22:19 (10 years ago)
parentbc77104
nixos/modules/services/networking/bind.nix+2−1
@@ -145,7 +145,7 @@ in
145145 };
146146
147147 systemd.services.bind = {
148− description = "BIND name server job";
148+ description = "BIND Domain Name Server";
149149 after = [ "network.target" ];
150150 wantedBy = [ "multi-user.target" ];
151151
@@ -155,6 +155,7 @@ in
155155 '';
156156
157157 script = "${pkgs.bind.bin}/sbin/named -u ${bindUser} ${optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} -f";
158+ unitConfig.Documentation = "man:named(8)";
158159 };
159160 };
160161}
nixos/modules/services/networking/cjdns.nix+1−1
@@ -208,7 +208,7 @@ in
208208 # networking.firewall.allowedUDPPorts = ...
209209
210210 systemd.services.cjdns = {
211− description = "encrypted networking for everybody";
211+ description = "cjdns: routing engine designed for security, scalability, speed and ease of use";
212212 wantedBy = [ "multi-user.target" ];
213213 after = [ "network.target" ];
214214
nixos/modules/services/networking/zerobin.nix+2−2
@@ -93,8 +93,8 @@ in
9393 serviceConfig.User = cfg.user;
9494 serviceConfig.Group = cfg.group;
9595 preStart = ''
96− mkdir -p ${cfg.dataDir}
97− chown ${cfg.user} ${cfg.dataDir}
96+ mkdir -p ${cfg.dataDir}
97+ chown ${cfg.user} ${cfg.dataDir}
9898 '';
9999 };
100100 };
nixos/modules/services/web-servers/apache-httpd/wordpress.nix−1
@@ -244,7 +244,6 @@ in
244244 chown ${serverInfo.serverConfig.user} ${config.wordpressUploads}
245245
246246 # we should use systemd dependencies here
247− #waitForUnit("network-interfaces.target");
248247 if [ ! -d ${serverInfo.fullConfig.services.mysql.dataDir}/${config.dbName} ]; then
249248 echo "Need to create the database '${config.dbName}' and grant permissions to user named '${config.dbUser}'."
250249 # Wait until MySQL is up