v1.2.1.sh 167 B

123456
  1. #!/usr/bin/env bash
  2. hostname=`hostname`
  3. domain=`php /app/bin/tools.php getDomain`
  4. port=`php /app/bin/tools.php getPort`
  5. curl -s http://${domain}:${port}/v2/tools/init