mirror of
https://github.com/AsgardEternal/SquadDocker.git
synced 2024-09-28 11:44:22 -05:00
feat: launch both SquadJS & the Server at once
This commit is contained in:
parent
4bcb4b168a
commit
05b76a1da4
@ -35,12 +35,13 @@ main() {
|
|||||||
Port="${GAMEPORT}" \
|
Port="${GAMEPORT}" \
|
||||||
QueryPort="${QUERYPORT}" \
|
QueryPort="${QUERYPORT}" \
|
||||||
FIXEDMAXTICKRATE="${FIXEDMAXTICKRATE}" \
|
FIXEDMAXTICKRATE="${FIXEDMAXTICKRATE}" \
|
||||||
FIXEDMAXPLAYERS="${FIXEDMAXPLAYERS}"
|
FIXEDMAXPLAYERS="${FIXEDMAXPLAYERS}" &
|
||||||
|
|
||||||
#(cd "${USER_HOME}/SquadJS" && su "${USER}" node index.js)
|
(cd "${USER_HOME}/SquadJS" && su "${USER}" node index.js) &
|
||||||
#while true ; do
|
|
||||||
# sleep 1
|
wait -n
|
||||||
#done
|
|
||||||
|
echo $?
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
Loading…
Reference in New Issue
Block a user