Tag: supervisor
-
Autorestart nodejs app with supervisor on error and changes
This howto will show how to restart automatically a nodejs app on crash or on file changes using supervisor and nodemon. Autorestart on changes To install nodemon to autorestart app when you change app files: To test it’s working, use nodemon like node, passing all parameters you would pass to node: Autorestart on errors To […]
-
Autolaunch a command and restart it on quit on CentOS
I’ve a django-admin command running as a server thanks to gevent. I want this server to run on boot and autorestart on quit. StackOverflow give me a hint: use Supervisor. On a Centos 5 distro: At the end of the file, add a new program: Then, start supervisord. Take a look to supervisord log file: […]