Changeset 67 for scripts/usr/local/lib/7dtd/commands/start.sh
- Timestamp:
- Jul 10, 2014, 9:59:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/start.sh
r66 r67 26 26 fi 27 27 28 setAllPlayersOffline $1 29 rm -f $(getInstancePath $1)/output_log.txt 28 if [ ! -d "$(getInstancePath $1)/logs" ]; then 29 mkdir "$(getInstancePath $1)/logs" 30 fi 31 rm -f $(getInstancePath $1)/logs/output_log.txt 30 32 31 33 for H in $(getHooksFor serverPreStart); do … … 36 38 SSD_DAEMON="--background --no-close" 37 39 SSD_USER="--chuid $SDTD_USER:$SDTD_GROUP --user $SDTD_USER" 38 OPTS="-logfile $(getInstancePath $1)/ output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated"40 OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated" 39 41 40 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>&142 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)/logs/stdout.log 2>&1 41 43 sleep 1 42 44
Note:
See TracChangeset
for help on using the changeset viewer.