anchor.diff:  
               if ! test -d ${cfg.spoolDir}
               then
  +	        initialize=1
                   cp -av ${pkgs.ejabberd}/var/lib/ejabberd /var/lib
               fi
               
  
positive.code: 	    fi
  	    
  	    ejabberdctl --config-dir ${cfg.confDir} --logs ${cfg.logsDir} --spool ${cfg.spoolDir} start
            '';
  
          postStop =
  
negative.code:         description = "Virtualhosts that ejabberd should host. Hostnames are surrounded with doublequotes and separated by commas";
        };
  
        loadDumps = mkOption {
          default = [];
          description = "Configuration dump that should be loaded on the first startup";
  	example = [ ./myejabberd.dump ];
        };
      };
      
    };
  