fix: something

This commit is contained in:
hibna
2026-08-02 20:26:54 +03:00
parent 5215560ede
commit 11924416a9
38 changed files with 2198 additions and 466 deletions
+14
View File
@@ -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 ===