Ctrl K
ComunidadGuías…

Docker/cgi-bin/index.sh

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#! /bin/bash

if [ "${DASUPERVISORUSERNAME:-null}" != "null" ]; then
    SUPERVISORCMD="supervisorctl --serverurl http://localhost:9001 --username ${DASUPERVISORUSERNAME} --password ${DASUPERVISORPASSWORD}"
else
    SUPERVISORCMD="supervisorctl --serverurl http://localhost:9001"
fi

${SUPERVISORCMD} start sync > /dev/null
while ${SUPERVISORCMD} status sync | grep -q RUNNING; do
    sleep 1
done
echo "Content-Type: text/plain" && echo && ls /var/www/html/log