Metrics
0
Watch 126 Star 365 Fork 92

GVPPiplin / PiplinPHPMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Piplin是一款免费、开源的持续集成与部署系统,适用于软件的自动化构建、测试和部署相关的各种应用场景 - 官方QQ群:656868 spread retract

Clone or download
supervisor.conf 1.15 KB
Copy Edit Web IDE Raw Blame History
[program:piplin]
command=php artisan queue:work --queue=piplin-high,piplin-low --sleep=3 --tries=1 --daemon
directory=/var/www/piplin
process_name=queue_%(process_num)s
numprocs=3
numprocs_start=0
stdout_logfile=/var/log/supervisor/piplin-%(process_num)s-stdout.log
stderr_logfile=/var/log/supervisor/piplin-%(process_num)s-stderr.log
stderr_logfile_maxbytes=1MB
stdout_logfile_maxbytes=1MB
redirect_stderr=true
autostart=true
autorestart=true
[program:piplin-socketio]
command=node socket.js
directory=/var/www/piplin
numprocs=1
autostart=true
autorestart=true
environment=HOME="/var/www/piplin",NODE_ENV="production"
stderr_logfile=/var/log/supervisor/piplin-socket-stderr.log
stdout_logfile=/var/log/supervisor/piplin-socket-stdout.log
stderr_logfile_maxbytes=1MB
stdout_logfile_maxbytes=1MB
[program:piplin-broadcast]
command=php artisan queue:work --queue=piplin-default --sleep=3 --tries=1 --daemon
directory=/var/www/piplin
numprocs=1
stderr_logfile=/var/log/supervisor/piplin-broadcast-stderr.log
stdout_logfile=/var/log/supervisor/piplin-broadcast-stdout.log
stderr_logfile_maxbytes=1MB
stdout_logfile_maxbytes=1MB
redirect_stderr=true
autostart=true
autorestart=true

Comment ( 0 )

You need to Sign in for post a comment

PHP
1
https://gitee.com/Piplin/Piplin.git
git@gitee.com:Piplin/Piplin.git

Help Search