修改配置
This commit is contained in:
@@ -17,7 +17,8 @@ FE_PROJECTS=(pc meetingh5 h5 cms build-cms build-down)
|
|||||||
TARGET="${1:-all}"
|
TARGET="${1:-all}"
|
||||||
|
|
||||||
_stop_fe() {
|
_stop_fe() {
|
||||||
local name="$1" pidfile="$PID_DIR/fe-${name}.pid"
|
local name="$1"
|
||||||
|
local pidfile="$PID_DIR/fe-${name}.pid"
|
||||||
if [[ -f "$pidfile" ]]; then
|
if [[ -f "$pidfile" ]]; then
|
||||||
local pid; pid=$(cat "$pidfile")
|
local pid; pid=$(cat "$pidfile")
|
||||||
if kill -0 "$pid" 2>/dev/null; then
|
if kill -0 "$pid" 2>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user