draft from chatgpt
This commit is contained in:
14
supervisord.conf
Normal file
14
supervisord.conf
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user