Changeset 16 for scripts/usr/local/bin/7dtd-start.sh
- Timestamp:
- May 17, 2014, 6:14:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/bin/7dtd-start.sh
r14 r16 15 15 checkInstanceValid $1 16 16 17 res=$(isRunning $1) 18 if [ $res -eq 0 ]; then 17 if [ $(isRunning $1) -eq 0 ]; then 19 18 if [ ! `pgrep Xvfb` ]; then 20 19 echo "Xvfb not yet running. Starting..." … … 31 30 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 32 31 sleep 1 33 res=$(isRunning $1) 34 if [ $res -eq 1 ]; then 32 if [ $(isRunning $1) -eq 1 ]; then 35 33 echo "Done!" 36 34 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.