fix: something
This commit is contained in:
@@ -44,6 +44,13 @@ message CreateServerRequest {
|
||||
map<string, string> environment = 7;
|
||||
repeated PortMapping ports = 8;
|
||||
repeated string install_plugin_urls = 9;
|
||||
// Mount point of the server data directory inside the container.
|
||||
// Empty means "derive from the image".
|
||||
string data_path = 10;
|
||||
// In-game command that shuts the server down cleanly (e.g. "stop", "quit").
|
||||
string stop_command = 11;
|
||||
// Total budget for a graceful shutdown before the container is killed.
|
||||
int32 stop_timeout_seconds = 12;
|
||||
}
|
||||
|
||||
message UpdateServerRequest {
|
||||
@@ -55,6 +62,9 @@ message UpdateServerRequest {
|
||||
string startup_command = 6;
|
||||
map<string, string> environment = 7;
|
||||
repeated PortMapping ports = 8;
|
||||
string data_path = 9;
|
||||
string stop_command = 10;
|
||||
int32 stop_timeout_seconds = 11;
|
||||
}
|
||||
|
||||
message ServerResponse {
|
||||
@@ -106,6 +116,10 @@ enum PowerAction {
|
||||
message PowerRequest {
|
||||
string uuid = 1;
|
||||
PowerAction action = 2;
|
||||
// Optional per-request overrides. When empty the daemon falls back to the
|
||||
// values captured when the container was created.
|
||||
string stop_command = 3;
|
||||
int32 stop_timeout_seconds = 4;
|
||||
}
|
||||
|
||||
// === Server Status ===
|
||||
|
||||
Reference in New Issue
Block a user