git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/modules/services/monitoring/graphite.nix: strip trailing whitespace
commit415f41bf6888e32f9359c5e32f59c40855bf74f0 authorPeter Simons <simons@cryp.to> dateSun 2 Nov 2014, 12:40 (12 years ago) parent96a7e65
1 file changed+6−6
nixos/modules/services/monitoring/graphite.nix+6−6
nixos/modules/services/monitoring/graphite.nix+6−6
@@ -306,7 +306,7 @@ in {
306306 example = literalExample ''
307307 {
308308 GRAPHITE_USERNAME = "user";
309− GRAPHITE_PASSWORD = "pass";
309+ GRAPHITE_PASSWORD = "pass";
310310 }
311311 '';
312312 };
@@ -344,7 +344,7 @@ in {
344344 name: Test
345345 '';
346346 example = literalExample ''
347− pushbullet_key: pushbullet_api_key
347+ pushbullet_key: pushbullet_api_key
348348 alerts:
349349 - target: stats.seatgeek.app.deal_quality.venue_info_cache.hit
350350 warning: .5
@@ -456,7 +456,7 @@ in {
456456 environment.systemPackages = [ pkgs.python27Packages.graphite_web ];
457457 })
458458
459− (mkIf cfg.api.enable {
459+ (mkIf cfg.api.enable {
460460 systemd.services.graphiteApi = {
461461 description = "Graphite Api Interface";
462462 wantedBy = [ "multi-user.target" ];
@@ -472,7 +472,7 @@ in {
472472 ExecStart = ''
473473 ${pkgs.python27Packages.waitress}/bin/waitress-serve \
474474 --host=${cfg.api.host} --port=${toString cfg.api.port} \
475− graphite_api.app:app
475+ graphite_api.app:app
476476 '';
477477 User = "graphite";
478478 Group = "graphite";
@@ -501,7 +501,7 @@ in {
501501 ExecStart = "${pkgs.seyren}/bin/seyren -httpPort ${toString cfg.seyren.port}";
502502 WorkingDirectory = dataDir;
503503 User = "graphite";
504− Group = "graphite";
504+ Group = "graphite";
505505 };
506506 preStart = ''
507507 if ! test -e ${dataDir}/db-created; then
@@ -526,7 +526,7 @@ in {
526526 serviceConfig = {
527527 ExecStart = "${pkgs.pythonPackages.graphite_pager}/bin/graphite-pager --config ${pagerConfig}";
528528 User = "graphite";
529− Group = "graphite";
529+ Group = "graphite";
530530 };
531531 };
532532