3 read pid cmd state ppid pgrp session tty_nr tpgid rest < /proc/self/stat
4 trap "kill -TERM -$pgrp; exit" EXIT TERM KILL SIGKILL SIGTERM SIGQUIT
6 # Override the default API server address if necessary.
7 if [[ "$API_PORT_443_TCP_ADDR" != "" ]]; then
8 sed -i "s/localhost:9900/$API_PORT_443_TCP_ADDR/" /usr/src/arvados/apps/workbench/config/application.yml
11 source /etc/apache2/envvars
12 /usr/sbin/apache2 -D FOREGROUND