Skip to content

Instantly share code, notes, and snippets.

@macknilan
Last active June 26, 2019 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macknilan/045860d00e7b9957ddb4 to your computer and use it in GitHub Desktop.
Save macknilan/045860d00e7b9957ddb4 to your computer and use it in GitHub Desktop.
COMO ROOT EN /etc/supervisor/conf.d/myapp.conf
[program:myapp]
command=/bin/gunicorn_start.sh ; COMANDO PARA INICIAR LA APP
user=muebleria ; USUARIO QUE CORRE LA APP
stdout_logfile=/home/muebleria/LandingPage/landingpage/logs/supervisor.log ; DONDE SE ALACAMENA LOS LOGS DE LA APP
autostart=true ; AUTO INICIA LA APP
autorestart=true ; AUTO REINCIA LA APP
redirect_stderr=true ; SALVAR stderr EN EL MISMO LOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment