Changeset 679 in tmcsimulator for trunk/bin/systemstart_dev_practice_session.sh
- Timestamp:
- 09/26/2022 05:03:29 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/bin/systemstart_dev_practice_session.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/systemstart_dev_practice_session.sh
r663 r679 1 #!/bin/sh 1 #!/bin/bash 2 3 # Kill any process leftover from previous run 4 kill $(ps aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}') 5 kill $(ps aux | grep "[p]ython deploy/unifiedlogger.zip" | awk '{print $2}') 6 7 # Get path to this script 8 # $0 contains path to the script file, even if launched from file manager 9 SCRIPT_PATH=$(dirname "$(readlink -f "$0")") 10 # CD to the script folder 11 cd "$SCRIPT_PATH" 12 2 13 # Start the Simulator System with the practice script 3 14 cd ../webapps … … 5 16 sleep 1 6 17 cd .. 7 java -D PROP_FILE=cad_server_practice.properties -jar deploy/CADserver.jar &18 java -DCONFIG_DIR=config/devlinux -DPROP_FILE=cad_server_practice.properties -jar deploy/CADserver.jar & 8 19 sleep 7 20 python deploy/unifiedlogger.zip & 21 22 sleep 2 9 23 java -jar deploy/SimManager.jar practice_script_2016.xml & 10 24 11 # Start Unified Logger Service12 python deploy/unifiedlogger.zip &13 sleep 514 25 # Start a browser and run the web applications 15 26 firefox localhost:8080/einotebook localhost:8080/cptms localhost:8080/unifiedlogmonitor.html &
Note: See TracChangeset
for help on using the changeset viewer.
