File: start_pacs_server

package info (click to toggle)
ctn 3.2.0~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,336 kB
  • ctags: 21,262
  • sloc: ansic: 179,501; makefile: 7,004; java: 1,863; csh: 1,067; yacc: 523; sh: 424; cpp: 394; sql: 389; lex: 170
file content (22 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# !/bin/csh
#
# A simple script for starting the pacs server for any ctn...
#

#
# This should be changed to match whatever the real root is
#
set ROOT = /mir_ctn/pacs

if( $1 == "" ) then
	echo Usage: $0 ctnname
	exit
endif

set PORT = 3100

setenv QUEUE_DIRECTORY $ROOT/q

pacs_server -v -c $ROOT/config/pacs_connect.cfg -d $ROOT/config/pacs_database.cfg -n $1 $PORT &

exit