Ignore:
Timestamp:
Nov 22, 2014, 10:55:28 PM (10 years ago)
Author:
alloc
Message:

Scripts 63

File:
1 edited

Legend:

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

    r72 r204  
    3333               
    3434                for H in $(getHooksFor serverPreStart); do
    35                         $H $INSTANCE
     35                        $H $1
    3636                done
    3737
     
    3939                SSD_DAEMON="--background --no-close"
    4040                SSD_USER="--chuid $SDTD_USER:$SDTD_GROUP --user $SDTD_USER"
    41                 OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated"
     41                OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml"
    4242               
    43                 LD_LIBRARY_PATH=$SDTD_BASE/linux_files LC_ALL=C $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
     43                LC_ALL=C $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
    4444                sleep 1
    4545
    4646                for H in $(getHooksFor serverPostStart); do
    47                         $H $INSTANCE
     47                        $H $1
    4848                done
    4949
Note: See TracChangeset for help on using the changeset viewer.