anchor.diff:          default = "/var/log/httpd";
           description = ''
             Directory for Apache's log files.  It is created automatically.
  -        '';
  -      };
  -
  -      stateDir = mkOption {
  -        type = types.path;
  -        default = "/run/httpd";
  -        description = ''
  -          Directory for Apache's transient runtime state (such as PID
  -          files).  It is created automatically.  Note that the default,
  -          <filename>/run/httpd</filename>, is deleted at boot time.
           '';
         };
   
  
positive.code:         serviceConfig.ExecStart = "@${httpd}/bin/httpd httpd -f ${httpdConf}";
          serviceConfig.ExecStop = "${httpd}/bin/httpd -f ${httpdConf} -k graceful-stop";
          serviceConfig.ExecReload = "${httpd}/bin/httpd -f ${httpdConf} -k graceful";
          serviceConfig.Type = "forking";
          serviceConfig.PIDFile = "${mainCfg.stateDir}/httpd.pid";
          serviceConfig.Restart = "always";
          serviceConfig.RestartSec = "5s";
        };
  
    };
  
negative.code: 
      ServerRoot ${httpd}
  
      DefaultRuntimeDir ${runtimeDir}/runtime
  
      PidFile ${runtimeDir}/httpd.pid
  
      ${optionalString (mainCfg.multiProcessingModule != "prefork") ''
        # mod_cgid requires this.
        ScriptSock ${runtimeDir}/cgisock
      ''}
  
      <IfModule prefork.c>
  