Skip to content

Commit

Permalink
Removed xvfb pid kill
Browse files Browse the repository at this point in the history
Since xvfb is starting with the server itself, it will track and exit with the server
  • Loading branch information
Diyagi committed Oct 15, 2024
1 parent fb80ad5 commit 97af5af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ function kill_corekeeperserver {
kill $ckpid
wait $ckpid
fi
if [[ -n "$xvfbpid" ]]; then
kill $xvfbpid
fi
}

trap kill_corekeeperserver EXIT TERM
Expand All @@ -29,7 +26,6 @@ touch "$logfile"

# Start Xvfb
Xvfb :99 -screen 0 1x1x24 -nolisten tcp &
xvfbpid=$!

# Start Core Keeper Server
DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer "${params[@]}" &
Expand Down

0 comments on commit 97af5af

Please sign in to comment.