anchor.diff:            ${pkgs.python27Packages.graphite_web}/bin/build-index.sh
   
             touch ${dataDir}/db-created
  +
  +          chown -R graphite:graphite ${cfg.dataDir}
           fi
         '';
         restartTriggers = [
  
positive.code:       ];
        preStart = ''
          mkdir -m 0700 -p ${cfg.dataDir}/whisper
          if [ "$(id -u)" = 0 ]; then chown -R graphite:graphite ${cfg.dataDir}; fi
        '';
      };
  
  
negative.code:       description = "Graphite Web Interface";
        wantedBy = [ "multi-user.target" ];
        after = [ "network-interfaces.target" ];
        path = [ pkgs.perl ];
        environment = {
          PYTHONPATH = "${pkgs.python27Packages.graphite_web}/lib/python2.7/site-packages";
          DJANGO_SETTINGS_MODULE = "graphite.settings";
  