anchor.diff:  
           startOn = "started network-interfaces";
           stopOn = "stopping network-interfaces";
  -	
  -	environment = {
  -	  PATH = "$PATH:${pkgs.ejabberd}/sbin:${pkgs.ejabberd}/bin:${pkgs.coreutils}/bin:${pkgs.bash}/bin:${pkgs.gnused}/bin";
  -	};
  +
  +        environment = {
  +          PATH = "$PATH:${pkgs.ejabberd}/sbin:${pkgs.ejabberd}/bin:${pkgs.coreutils}/bin:${pkgs.bash}/bin:${pkgs.gnused}/bin";
  +        };
   
           preStart =
             ''
  
positive.code:                         sleep 1
                      done
  
  	            ${concatMapStrings (dump:
  		      ''
  		        echo "Importing dump: ${dump}"
  			
  			if [ -f ${dump} ]
  			then
  		            ejabberdctl --config-dir ${cfg.confDir} --logs ${cfg.logsDir} --spool ${cfg.spoolDir} load ${dump}
  			elif [ -d ${dump} ]
  			then
  			    for i in ${dump}/ejabberd-dump/*
  			    do
  			        ejabberdctl --config-dir ${cfg.confDir} --logs ${cfg.logsDir} --spool ${cfg.spoolDir} load $i
  			    done
  			fi
  		      '') cfg.loadDumps}
  	        fi
  	      ''}
            '';
  
          postStop =
            ''        
              ejabberdctl --config-dir ${cfg.confDir} --logs ${cfg.logsDir} --spool ${cfg.spoolDir} stop
            '';
        };
  
    };
    
  }
  
negative.code:   ###### interface
  
    options = {
  
      services.ejabberd = {
  
        enable = mkOption {
          default = false;
          description = "Whether to enable ejabberd server";
  