quick start

从源码编译

  1. git clone http://192.168.120.68/root/vbill-proter.git
  2. cd vbill-proter
  3. git checkout 版本
  4. gradle build
  5. build/distributions目录查找安装包

运行

  1. tar zxvf build/distributions/porter-boot-版本.tar
  2. porter-boot-版本/bin/startup.sh

调试

  • porter-boot-版本/bin/startup.sh debug 端口号

运行环境

  • porter-boot-版本/bin/startup.sh —spring.profiles.active=运行环境

优雅关闭

  • porter-boot-版本/bin/shutdown.sh
  1. signalId = `kill -l USR2`
  2. kill -$signalId PID #centos:31 mac:12