添加websocket启动服务

This commit is contained in:
lilong@dgg.net 2021-04-01 09:38:02 +08:00
parent c9ed1b967d
commit 4b80485f69
1 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,3 @@
[program:fs-restart]
process_name=%(program_name)s_%(process_num)02d
command=sh /www/wwwroot/fs_auto_restart.sh
autostart=true
autorestart=true
user=root
numprocs=1
redirect_stderr=true
[program:swoole-http] [program:swoole-http]
process_name=%(program_name)s_%(process_num)02d process_name=%(program_name)s_%(process_num)02d
command=/www/server/php/73/bin/php /www/wwwroot/wh.com/artisan swoole:http command=/www/server/php/73/bin/php /www/wwwroot/wh.com/artisan swoole:http
@ -16,6 +7,15 @@ user=www
numprocs=1 numprocs=1
redirect_stderr=true redirect_stderr=true
[program:swoole-websocket]
process_name=%(program_name)s_%(process_num)02d
command=/www/server/php/73/bin/php /www/wwwroot/wh.com/artisan swoole:websocket
autostart=true
autorestart=true
user=www
numprocs=1
redirect_stderr=true
[program:swoole-dial] [program:swoole-dial]
process_name=%(program_name)s_%(process_num)02d process_name=%(program_name)s_%(process_num)02d
command=/www/server/php/73/bin/php /www/wwwroot/wh.com/artisan swoole:dial command=/www/server/php/73/bin/php /www/wwwroot/wh.com/artisan swoole:dial