quick start

Compile from source

  1. git clone http://192.168.120.68/root/suixingpay-datas.git
  2. cd suixingpay-datas
  3. git checkout version
  4. gradle build
  5. Find the installation package from the build/distributions list

Run

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

Debug

  • porter-boot-version/bin/startup.sh debug port

Operating environment

  • porter-boot-version/bin/startup.sh —spring.profiles.active=Operating environment

Elegant close

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