Revert "fix(docker): migrate database start actions from --time to -t flag"

This commit is contained in:
Andras Bacsai
2025-11-28 11:15:55 +01:00
committed by GitHub
parent 2898448fe2
commit 9503da60b4
9 changed files with 13 additions and 13 deletions

View File

@@ -208,7 +208,7 @@ class StartKeydb
if ($this->database->enable_ssl) {
$this->commands[] = "chown -R 999:999 $this->configuration_dir/ssl/server.key $this->configuration_dir/ssl/server.crt";
}
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
$this->commands[] = "echo 'Database started.'";