Changeset 14 for scripts/usr/local/bin/7dtd-start.sh
- Timestamp:
- May 17, 2014, 6:01:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/bin/7dtd-start.sh
r12 r14 1 1 #!/bin/bash 2 # Version 12 # Version 3 3 3 4 4 # Tries to start the 7dtd instance given as first parameter. … … 13 13 checkRootLoadConf 14 14 15 checkInstance $115 checkInstanceValid $1 16 16 17 17 res=$(isRunning $1) … … 27 27 SSD_DAEMON="--background --no-close" 28 28 SSD_USER="--chuid $SDTD_USER:$SDTD_GROUP --user $SDTD_USER" 29 OPTS="-quit -batchmode -nographics -configfile=$(getInstancePath $1)/ serverconfig.xml -dedicated"29 OPTS="-quit -batchmode -nographics -configfile=$(getInstancePath $1)/config.xml -dedicated" 30 30 31 31 start-stop-daemon --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_ROOT --exec $WINE -- $SDTD_ROOT/7DaysToDie.exe $OPTS > $(getInstancePath $1)/stdout.log 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.