github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/apps/simpleexample/SimpleDomain/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 &
    16  sleep 1
    17  $BINPATH/tao run -tao_domain $DOMAIN /Domains/SimpleServer -domain_config "/Domains/domain.simpleexample/tao.config" -path "/Domains/domain.simpleexample/SimpleServer" &
    18  sleep 1
    19  $BINPATH/tao run -tao_domain $DOMAIN /Domains/SimpleClient -domain_config "/Domains/domain.simpleexample/tao.config" -path "/Domains/domain.simpleexample/SimpleClient" &
    20