anchor.diff:              <Directory "${pkg}/share/limesurvey">
                 <FilesMatch "\.php$">
                   <If "-f %{REQUEST_FILENAME}">
  -                  SetHandler "proxy:unix:/run/phpfpm/limesurvey.sock|fcgi://localhost/"
  +                  SetHandler "proxy:unix:${fpm.listen}|fcgi://localhost/"
                   </If>
                 </FilesMatch>
   
  
positive.code:       enable = true;
        adminAddr = mkDefault cfg.virtualHost.adminAddr;
        extraModules = [ "proxy_fcgi" ];
        virtualHosts = [
          (cfg.virtualHost // {
            documentRoot = mkForce "${pkg}/share/limesurvey";
            extraConfig = ''
              Alias "/tmp" "${stateDir}/tmp"
  
negative.code:       environment.LIMESURVEY_CONFIG = limesurveyConfig;
        script = ''
          # update or install the database as required
          ${pkgs.php}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \
          ${pkgs.php}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose
        '';
        serviceConfig = {
          User = user;
  