安装 brew安装 brew install supervisor 安装提示 ==> supervisor To have launchd start supervisor now and restart at login: brew services start supervisor Or, if you don't want/need a background service you can just run: supervisord -c /usr/local/etc/supervisord.ini 安装目录 /usr/local/Cellar/supervisor/3.3.4: 573 files, 7.1MB 配置文件 输出配置文件模板。 echo_supervisord_conf 在指定路径创建配置文件 /usr/local/etc/supervisor.d/*.ini [program:project] process_name=%(program_name)s_%(process_num)02d command=php /「项目目录绝对路径」/artisan queue:work r