From 4db7e4b669d3f93a89238deb3889715fc33791d8 Mon Sep 17 00:00:00 2001 From: Dexuan Ren <81537377+KenRen98@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:00:55 -0500 Subject: [PATCH] no need of helper --- .../dont_starve/cave_helper.sh | 18 ------------------ .../dont_starve/supervisord.conf | 1 - 2 files changed, 19 deletions(-) delete mode 100644 game_eggs/steamcmd_servers/dont_starve/cave_helper.sh diff --git a/game_eggs/steamcmd_servers/dont_starve/cave_helper.sh b/game_eggs/steamcmd_servers/dont_starve/cave_helper.sh deleted file mode 100644 index 2be0f2e0..00000000 --- a/game_eggs/steamcmd_servers/dont_starve/cave_helper.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Signal handler function -handle_signal() { - echo "Signal received, executing c_shutdown()" - c_shutdown -} - -# Trap TERM and INT signals and call handle_signal when they are received -trap handle_signal TERM INT - -# Start your server process here (run in the background if necessary) -./dontstarve_dedicated_server_nullrenderer_x64 -bind_ip 0.0.0.0 -port 11000 -persistent_storage_root /home/container/DoNotStarveTogether -conf_dir config -cluster server -players {{MAX_PLAYERS}} -shard Caves & - -# Wait for server process to exit -wait $! - -echo "Server process exited, script ending" diff --git a/game_eggs/steamcmd_servers/dont_starve/supervisord.conf b/game_eggs/steamcmd_servers/dont_starve/supervisord.conf index f29a0ff3..74d2ee56 100644 --- a/game_eggs/steamcmd_servers/dont_starve/supervisord.conf +++ b/game_eggs/steamcmd_servers/dont_starve/supervisord.conf @@ -18,7 +18,6 @@ autorestart=false redirect_stderr=true stdout_logfile=/home/container/DoNotStarveTogether/config/server/Caves/server_log.txt directory=/home/container/bin64 -depends_on=master stopsignal=TERM stopwaitsecs=60