Changeset 36


Ignore:
Timestamp:
Jun 2, 2014, 2:53:04 AM (8 years ago)
Author:
alloc
Message:

Bootstrapper typo, LD_LIB_PATH in startscript

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r35 r36  
    178178        echo -e "Downloading and installing Linux engine\n"
    179179        wget -nv http://illy.bz/fi/7dtd/linux_files.tar.gz -O /tmp/linux_files.tar.gz
    180         tar --touch -xzf /tmp/linux_files.gz -C /home/sdtd/
     180        tar --touch -xzf /tmp/linux_files.tar.gz -C /home/sdtd/
    181181
    182182        chown sdtd.sdtd /home/sdtd/linux_files
    183         chmod 0644 /home/sdtd/linux_files
     183        chmod 0644 -R /home/sdtd/linux_files
     184        chmod 0755 /home/sdtd/linux_files /home/sdtd/linux_files/engine
    184185        chmod 0755 /home/sdtd/linux_files/engine/7DaysToDie.x86
    185186
  • scripts/usr/local/lib/7dtd/commands/start.sh

    r35 r36  
    3232                OPTS="-logfile $(getInstancePath $1)/output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated"
    3333               
    34                 $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/stdout.log 2>&1
     34                LD_LIBRARY_PATH=$SDTD_BASE/linux_files $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/stdout.log 2>&1
    3535                sleep 1
    3636
Note: See TracChangeset for help on using the changeset viewer.