tell users that tubesync is available on port 4848
It is confusing with the other ports in the log
This commit is contained in:
parent
7e7f0521ae
commit
cd86e91f5b
|
@ -1,5 +1,3 @@
|
||||||
daemon off;
|
|
||||||
|
|
||||||
user app;
|
user app;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
|
|
|
@ -2,4 +2,18 @@
|
||||||
|
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
/usr/sbin/nginx
|
# run this service only once
|
||||||
|
s6-svc -O /var/run/s6/services/nginx
|
||||||
|
|
||||||
|
/usr/sbin/nginx -g "daemon on;"
|
||||||
|
|
||||||
|
/app/healthcheck.py http://127.0.0.1:8080/healthcheck
|
||||||
|
exitcode=$?
|
||||||
|
|
||||||
|
while [ $exitcode -ne 0 ]; do
|
||||||
|
sleep 1;
|
||||||
|
/app/healthcheck.py http://127.0.0.1:8080/healthcheck
|
||||||
|
exitcode=$?
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Nginx entered a running state and is serving tubesync on port 4848"
|
||||||
|
|
Loading…
Reference in New Issue