Blame view

run.sh 222 Bytes
314bc5df   zhengshouren   提交服务器初始代码
1
2
3
4
5
6
7
8
9
10
  #! /bin/sh
  
  pid=`cat skynet.pid`
  run=`ps aux | grep skynet | grep -v grep | grep -c $pid`
  
  if [ $run = 1 ]; then
      echo "服务端正在运行"
      exit 0
  fi
  
081dd429   zhouhaihai   配置文件梳理
11
  skynet/skynet config/develop.lua
314bc5df   zhengshouren   提交服务器初始代码
12
  echo "服务端启动完毕"