factorio: wait for network connection before starting
This commit is contained in:
		
							parent
							
								
									b58b9b1844
								
							
						
					
					
						commit
						cf712901d2
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -10,6 +10,11 @@
 | 
				
			||||||
    extraSettingsFile = config.age.secrets.factorio-settings.path;
 | 
					    extraSettingsFile = config.age.secrets.factorio-settings.path;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  systemd.services.factorio = {
 | 
				
			||||||
 | 
					    after = [ "network-online.target" ];
 | 
				
			||||||
 | 
					    wants = [ "network-online.target" ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  age.secrets.factorio-settings = {
 | 
					  age.secrets.factorio-settings = {
 | 
				
			||||||
    file = ../../secrets/factorio-settings.age;
 | 
					    file = ../../secrets/factorio-settings.age;
 | 
				
			||||||
    mode = "777";
 | 
					    mode = "777";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue