Autostart and keep your processes running on fail in Ubuntu 18.04 with supervisord

Just need to go through these articles: https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps Digitalocean has the greatest content!! 2. Here on more config options: https://stackoverflow.com/questions/27291448/supervisor-config-user-option-in-program-section I wanted to run the script as a specific user, so in this case you just add to the /etc/supervisor/conf.d/<specific_file>.conf that has the supervisord options like: which command to run (a consumer sending emails) asContinue reading “Autostart and keep your processes running on fail in Ubuntu 18.04 with supervisord”

RabbitMQ – queue empty after a restart, why even though it’s “durable”?

State before: A message in the ‘send-email-queue’ and now restarting the server and the queue is cleared. Message is gone? Why? You can see that there are two options for a message in “Delivery mode” when publishing the message from the rabbitmq panel – in a “queue” tab you will find this: This is theContinue reading “RabbitMQ – queue empty after a restart, why even though it’s “durable”?”

Stripe Connect – building a platform

Stripe Connect Introduction Stripe Connect enables anyone to start up their online business using “marketplace” business model. That is a model where there is a platform that attracts two or more groups invoved as well in one purchase. Think Airbnb, Uber, eBay or Amazon. Why two or more? Because in case of Uber for instance,Continue reading “Stripe Connect – building a platform”

Design a site like this with WordPress.com
Get started