Browse Source

fixed bugs in startup scripts and packaging manifests;

tags/1.2.0^2
huanghaiquan 4 years ago
parent
commit
8f10f45e4c
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      deploy/deploy-gateway/src/main/resources/assembly.xml
  2. +1
    -1
      deploy/deploy-gateway/src/main/resources/scripts/startup.sh
  3. +1
    -1
      deploy/deploy-peer/src/main/resources/assembly.xml
  4. +1
    -1
      deploy/deploy-peer/src/main/resources/scripts/peer-startup.sh

+ 1
- 1
deploy/deploy-gateway/src/main/resources/assembly.xml View File

@@ -31,7 +31,7 @@
<useProjectArtifact>true</useProjectArtifact> <useProjectArtifact>true</useProjectArtifact>
<outputDirectory>lib</outputDirectory> <outputDirectory>lib</outputDirectory>
<includes> <includes>
<include>com.jd.blockchain:deployment-gateway</include>
<include>com.jd.blockchain:deploy-gateway</include>
</includes> </includes>
</dependencySet> </dependencySet>
</dependencySets> </dependencySets>

+ 1
- 1
deploy/deploy-gateway/src/main/resources/scripts/startup.sh View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash


HOME=$(cd `dirname $0`;cd ../; pwd) HOME=$(cd `dirname $0`;cd ../; pwd)
GATEWAY=$(ls $HOME/lib | grep deployment-gateway-)
GATEWAY=$(ls $HOME/lib | grep deploy-gateway-)
PROC_INFO=$HOME/lib/$GATEWAY" -c "$HOME/config/gateway.conf PROC_INFO=$HOME/lib/$GATEWAY" -c "$HOME/config/gateway.conf
#echo $PROC_INFO #echo $PROC_INFO
#get PID #get PID


+ 1
- 1
deploy/deploy-peer/src/main/resources/assembly.xml View File

@@ -39,7 +39,7 @@
<include>com.jd.blockchain:runtime-modular</include> <include>com.jd.blockchain:runtime-modular</include>
<include>com.jd.blockchain:runtime-modular-booter</include> <include>com.jd.blockchain:runtime-modular-booter</include>
<include>com.jd.blockchain:peer</include> <include>com.jd.blockchain:peer</include>
<include>com.jd.blockchain:deployment-peer</include>
<include>com.jd.blockchain:deploy-peer</include>
</includes> </includes>
</dependencySet> </dependencySet>
<dependencySet> <dependencySet>


+ 1
- 1
deploy/deploy-peer/src/main/resources/scripts/peer-startup.sh View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash


HOME=$(cd `dirname $0`;cd ../; pwd) HOME=$(cd `dirname $0`;cd ../; pwd)
PEER=$(ls $HOME/system | grep deployment-peer-)
PEER=$(ls $HOME/system | grep deploy-peer-)
PROC_INFO=$HOME/system/$PEER" -home="$HOME" -c "$HOME/config/ledger-binding.conf" -p 7080" PROC_INFO=$HOME/system/$PEER" -home="$HOME" -c "$HOME/config/ledger-binding.conf" -p 7080"
#echo $PROC_INFO #echo $PROC_INFO
#get PID #get PID


Loading…
Cancel
Save