Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

open-source / rpc-openplatform

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • rpc-openplatform
  • ..
  • bin
  • restart.sh
  • 王欣伟's avatar
    首次提交 · c61bc00d
    王欣伟 committed Dec 16, 2020
    c61bc00d Browse Files
restart.sh 189 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
ENV=$1
if [ -z "$ENV" ]; then
    echo "ERROR:PLEASE SPEC ENV ARGS,SUCH AS dev,test,beta,release..  "
    echo "app exit"
    exit 1
fi
cd `dirname $0`
./stop.sh
./start.sh $ENV