#!/bin/sh # setup ssh key for root user # must be installed by the API first within /tmp/.ssh mkdir ~/.ssh cp /tmp/.ssh/* ~/.ssh/ # start command recorder node deadlock/recorder.js & #trap 'if [[ "$BASH_COMMAND" == "java "* ]]; then printf "[%s]\n" ${BASH_COMMAND#echo}; false; fi' DEBUG #set -T #shopt -s extdebug su theia --command "python setup_trace.py" # starting theia as THEIA su theia --command "node /home/theia/src-gen/backend/main.js /home/project --hostname=0.0.0.0 --plugins=local-dir:/home/plugins"