mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-11-04 10:58:06 +00:00 
			
		
		
		
	Move shutdown command to variable
This commit is contained in:
		
							parent
							
								
									1f62dca1a0
								
							
						
					
					
						commit
						987743f7c4
					
				@ -4,13 +4,13 @@
 | 
				
			|||||||
        "version": "PTDL_v1",
 | 
					        "version": "PTDL_v1",
 | 
				
			||||||
        "update_url": null
 | 
					        "update_url": null
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "exported_at": "2021-02-10T11:01:34-06:00",
 | 
					    "exported_at": "2021-02-10T11:36:40-06:00",
 | 
				
			||||||
    "name": "Valheim",
 | 
					    "name": "Valheim",
 | 
				
			||||||
    "author": "magi1053@outlook.com",
 | 
					    "author": "magi1053@outlook.com",
 | 
				
			||||||
    "description": "A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture.",
 | 
					    "description": "A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture.",
 | 
				
			||||||
    "features": null,
 | 
					    "features": null,
 | 
				
			||||||
    "image": "quay.io\/parkervcp\/pterodactyl-images:debian_source",
 | 
					    "image": "quay.io\/parkervcp\/pterodactyl-images:debian_source",
 | 
				
			||||||
    "startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" > >(sed -uE \"{{FILTER}}\") & trap 'kill -2 $!; wait' 2 15; wait $!",
 | 
					    "startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" > >(sed -uE \"{{FILTER}}\") & trap \"{{STOP}}\" 15; wait $!",
 | 
				
			||||||
    "config": {
 | 
					    "config": {
 | 
				
			||||||
        "files": "{}",
 | 
					        "files": "{}",
 | 
				
			||||||
        "startup": "{\r\n    \"done\": \"DungeonDB Start\"\r\n}",
 | 
					        "startup": "{\r\n    \"done\": \"DungeonDB Start\"\r\n}",
 | 
				
			||||||
@ -78,6 +78,15 @@
 | 
				
			|||||||
            "user_viewable": false,
 | 
					            "user_viewable": false,
 | 
				
			||||||
            "user_editable": false,
 | 
					            "user_editable": false,
 | 
				
			||||||
            "rules": "string"
 | 
					            "rules": "string"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Shutdown Command",
 | 
				
			||||||
 | 
					            "description": "Commands to trigger a server shutdown.",
 | 
				
			||||||
 | 
					            "env_variable": "STOP",
 | 
				
			||||||
 | 
					            "default_value": "kill -2 $!; wait;",
 | 
				
			||||||
 | 
					            "user_viewable": false,
 | 
				
			||||||
 | 
					            "user_editable": false,
 | 
				
			||||||
 | 
					            "rules": "required|string"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user