github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/apps/newfileproxy/NewfileproxyDomain/runall (about) 1 # 2 source ./defines 3 4 # These should be run as root. 5 $BINPATH/tao host init -tao_domain $DOMAIN -hosting process -root -pass xxx 6 sleep 5 7 $BINPATH/tao host start -tao_domain $DOMAIN -host linux_tao_host -pass xxx & 8 sleep 5 9 10 # 11 # Starting the programs should be done as the unprivileged user it runs for 12 # to provide isolation. 13 # We run as root for conveniencea to avoid script clutter. 14 # 15 $BINPATH/tao run -tao_domain $DOMAIN /Domains/SimpleDomainService -password xxx -config "/Domains/domain.fileproxy/tao.config" -service_path "/Domains/domain.fileproxy/SimpleDomainService" & 16 sleep 1 17 echo "$BINPATH/tao run -tao_domain $DOMAIN /Domains/FileServer -domain_config \"/Domains/domain.fileproxy/tao.config\" -path \"/Domains/domain.fileproxy/FileServer\" &" 18 $BINPATH/tao run -tao_domain $DOMAIN /Domains/FileServer -domain_config "/Domains/domain.fileproxy/tao.config" -path "/Domains/domain.fileproxy/FileServer" & 19 sleep 1 20 echo "$BINPATH/tao run -tao_domain $DOMAIN /Domains/FileClient -domain_config \"/Domains/domain.fileproxy/tao.config\" -path \"/Domains/domain.fileproxy/FileClient\" &" 21 $BINPATH/tao run -tao_domain $DOMAIN /Domains/FileClient -domain_config "/Domains/domain.fileproxy/tao.config" -path "/Domains/domain.fileproxy/FileClient" &