tell users that tubesync is available on port 4848

It is confusing with the other ports in the log
This commit is contained in:
Luc 2021-12-07 11:51:39 +01:00
parent 7e7f0521ae
commit cd86e91f5b
2 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,3 @@
daemon off;
user app;
worker_processes auto;
pid /run/nginx.pid;

View File

@ -2,4 +2,18 @@
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"