Moved from swoole to frankenphp

This commit is contained in:
Constantin Graf
2024-06-25 18:42:40 +02:00
committed by Constantin Graf
parent 2e8b088c59
commit 7b467807d9
18 changed files with 361 additions and 223 deletions

View File

@@ -1,9 +1,3 @@
[supervisord]
nodaemon=true
user=%(ENV_USER)s
logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid
[program:scheduler]
process_name=%(program_name)s_%(process_num)02d
command=supercronic -overlapping /etc/supercronic/laravel
@@ -21,7 +15,12 @@ command=php %(ENV_ROOT)s/artisan schedule:clear-cache
user=%(ENV_USER)s
autostart=true
autorestart=false
startsecs=0
startretries=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stderr_logfile_maxbytes=0
[include]
files=/etc/supervisor/supervisord.conf