blob: eaaae612af1b62754f0935dbb554352cfec6f4ba [file] [log] [blame]
Sergio Slobodrianff52e1b2017-04-24 12:39:08 -04001#!/bin/bash
2
3cd /
4#nginx -c /nginx_config/nginx.conf&
5exec consul-template -reload-signal='SIGHUP' -consul $CONSUL_ADDR -template="nginx_config/nginx-upstreams.ctmpl:nginx_config/upstreams/voltha-upstreams.conf:nginx -s reload" -exec='/usr/sbin/nginx -c /nginx_config/nginx.conf -g "daemon off;"'