diff --git a/scripts/init.sh b/scripts/init.sh index 286c1a0f9..d1f3634e3 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -30,7 +30,7 @@ term_handler() { if ! shutdown_server; then # Does not save - kill -SIGTERM "$(pidof PalServer-Linux-Test)" + kill -SIGTERM "$(pidof PalServer-Linux-Shipping)" fi tail --pid="$killpid" -f 2>/dev/null diff --git a/scripts/player_logging.sh b/scripts/player_logging.sh index 37017b891..5ae80b934 100644 --- a/scripts/player_logging.sh +++ b/scripts/player_logging.sh @@ -19,7 +19,7 @@ while ! nc -z 127.0.0.1 "${RCON_PORT}"; do done while true; do - server_pid=$(pidof PalServer-Linux-Test) + server_pid=$(pidof PalServer-Linux-Shipping) if [ -n "${server_pid}" ]; then # Player IDs are usally 9 or 10 digits however when a player joins for the first time for a given boot their ID is temporary 00000000 (8x zeros) while loading # Player ID is also 00000000 (8x zeros) when in character creation diff --git a/scripts/restore.sh b/scripts/restore.sh index 87fd3be32..186b0b1ce 100644 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -69,7 +69,7 @@ if [ -f "$BACKUP_FILE" ]; then exit 1 fi - server_pid=$(pidof PalServer-Linux-Test) + server_pid=$(pidof PalServer-Linux-Shipping) if [ -n "${server_pid}" ]; then LogInfo "Waiting for Palworld to exit.." tail --pid="${server_pid}" -f /dev/null