summaryrefslogtreecommitdiffstats
path: root/cvp/docker/start-nginx.sh
blob: c9949be4db8c46a598a0953fed2c5bdd37e181dd (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
FILE=/etc/nginx/sites-enabled/default

if [ "$testapi_url" != "" ]; then
    sed -i "s/server localhost:8010/server $testapi_url/" $FILE
fi

service supervisor start

tail -f /var/log/supervisor/supervisord.log