forked from LiamAEdwards/SS14-Docker-Linux-Server
Fallback to Robust.Server when Watchdog absent
This commit is contained in:
4
start.sh
4
start.sh
@@ -14,7 +14,9 @@ if [ -x "./SS14.Watchdog" ]; then
|
||||
elif [ -d "./SS14.Watchdog" ] && [ -x "./SS14.Watchdog/SS14.Watchdog" ]; then
|
||||
cd ./SS14.Watchdog || exit 1
|
||||
exec ./SS14.Watchdog "$@"
|
||||
elif [ -x "./Robust.Server" ]; then
|
||||
exec ./Robust.Server "$@"
|
||||
else
|
||||
echo "SS14.Watchdog executable not found in /ss14/publish" >&2
|
||||
echo "No SS14.Watchdog or Robust.Server executable found in /ss14/publish" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user