Correctly name the server.properties file in the minecraft container
Previously this would add a checksum to the name because it would use the name provided by nixos, which of course would make minecraft not read the server properties file.
This commit is contained in:
		
							parent
							
								
									af04f7433a
								
							
						
					
					
						commit
						92131a0ec0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@ let
 | 
			
		|||
                           ${pkgs.busybox}/bin/mkdir -p /var/lib/
 | 
			
		||||
                           ${pkgs.gzip}/bin/gzip -dc ${./configs/minecraft.tar.gz} | ${pkgs.gnutar}/bin/tar -xf - -C /var/lib
 | 
			
		||||
                           echo 'eula=true' > /var/lib/minecraft/eula.txt
 | 
			
		||||
                           ${pkgs.busybox}/bin/cp -f ${properties} /var/lib/minecraft
 | 
			
		||||
                           ${pkgs.busybox}/bin/cp -f ${properties} /var/lib/minecraft/server.properties
 | 
			
		||||
                           $@
 | 
			
		||||
                         '';
 | 
			
		||||
  ops = pkgs.writeText "ops.json" (builtins.toJSON [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue