apps/scripts/start_his_server
raw| 1 | # !/bin/csh |
| 2 | # |
| 3 | # A simple script for starting the his server for a ctn... |
| 4 | # |
| 5 | |
| 6 | # |
| 7 | # This should be changed to match whatever the real root is |
| 8 | # |
| 9 | set ROOT = /mir_ctn/his |
| 10 | |
| 11 | if( $1 == "" ) then |
| 12 | echo Usage: $0 ctnname |
| 13 | exit |
| 14 | endif |
| 15 | |
| 16 | set PORT = 3200 |
| 17 | |
| 18 | setenv QUEUE_DIRECTORY $ROOT/q |
| 19 | setenv D $ROOT/db |
| 20 | |
| 21 | his_server -v -c $1 -p $PORT $ROOT/config/his_connect.cfg $ROOT/config/his_database.cfg & |
| 22 | |
| 23 | exit |