Ignore:
Timestamp:
Mar 17, 2016, 6:16:40 PM (9 years ago)
Author:
alloc
Message:

v96

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/start.sh

    r258 r259  
    4747                rm -f $(getInstancePath $1)/logs/output_log.txt
    4848               
    49                 for H in $(getHooksFor serverPreStart); do
     49                for H in $(getHooksFor serverPreStart $1); do
    5050                        $H $1
    5151                done
     
    5858                OPTS="-logfile $LOG -configfile=$(getInstancePath $1)/config.xml"
    5959               
    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
    6168                sleep 1
    6269
    63                 for H in $(getHooksFor serverPostStart); do
     70                for H in $(getHooksFor serverPostStart $1); do
    6471                        $H $1
    6572                done
Note: See TracChangeset for help on using the changeset viewer.