php-micro-file-server/run.sh

11 lines
115 B
Bash

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