Commit b7b2d64bf5a12785d4aa238bda968c26c42a1995

Authored by 陆恒
1 parent e11a53ba
Exists in master

提交

src/HttpServer/main/build.sh 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +#!/usr/bin
  2 +export GOPATH=/home/luheng/happycat
  3 +echo "begin dos2unix..."
  4 +find ../ -name '*.go' | xargs dos2unix
  5 +
  6 +echo "begin build..."
  7 +go build
  8 +echo "end build..."
  9 +echo "start run..."
  10 +mv main HAPPYCATSRV
  11 +sh run.sh
... ...
src/HttpServer/main/ll.sh 0 → 100644
... ... @@ -0,0 +1 @@
  1 +ps -ef|grep HAPPYCATSRV
... ...
src/HttpServer/main/run.sh 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +#!/bin/sh
  2 +pkill HAPPYCATSRV
  3 +nohup ./HAPPYCATSRV -conf_path=../conf/world.xml -logpath=./log &
... ...