php-micro-file-server/run.sh

11 lines
133 B
Bash

#!/bin/sh
# 后台启动
php-fpm -D
# 启动nginx
nginx
# 启动nacos心跳服务
php ./start.php start > /dev/null
# hold后台
sh