diff --git a/supervisord.conf b/supervisord.conf new file mode 100644 index 0000000..6e70588 --- /dev/null +++ b/supervisord.conf @@ -0,0 +1,14 @@ +[supervisord] +nodaemon=true + +[program:mysqld] +command=/usr/sbin/mysqld --datadir=/mnt/data/mysql +autorestart=true + +[program:php-fpm] +command=/usr/local/sbin/php-fpm +autorestart=true + +[program:queue-worker] +command=/usr/bin/php artisan queue:work --sleep=3 --tries=3 +autorestart=true