Changeset 259 for scripts/usr/local/lib/7dtd/commands/start.sh
- Timestamp:
- Mar 17, 2016, 6:16:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/start.sh
r258 r259 47 47 rm -f $(getInstancePath $1)/logs/output_log.txt 48 48 49 for H in $(getHooksFor serverPreStart ); do49 for H in $(getHooksFor serverPreStart $1); do 50 50 $H $1 51 51 done … … 58 58 OPTS="-logfile $LOG -configfile=$(getInstancePath $1)/config.xml" 59 59 60 LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDieServer.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1 60 # if [ "$(uname -m)" = "x86_64" ]; then 61 # SERVER_EXE="7DaysToDieServer.x86_64" 62 # else 63 SERVER_EXE="7DaysToDieServer.x86" 64 # fi 65 66 67 LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/$SERVER_EXE -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1 61 68 sleep 1 62 69 63 for H in $(getHooksFor serverPostStart ); do70 for H in $(getHooksFor serverPostStart $1); do 64 71 $H $1 65 72 done
Note:
See TracChangeset
for help on using the changeset viewer.