Skip to content

Commit

Permalink
Add stop service script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsbogd committed Dec 12, 2018
1 parent 562ed71 commit 096bfe9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions workshop/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,5 @@ RUN snet set current_registry_at ${REGISTRY_ADDR}
RUN snet set current_multipartyescrow_at ${MULTIPARTYESCROW_ADDR}

COPY ./start_environment.sh ${GOPATH}/bin/
COPY ./stop_service.sh ${GOPATH}/bin
CMD start_environment.sh
2 changes: 1 addition & 1 deletion workshop/docker/examples/01-snet-cli/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ snet identity deployer
snet client balance
snet contract SingularityNetToken transferTokens $CLIENT_ADDR 100000000000 --transact --yes

# deposit tokents into MultiPartyEscrow contract
# deposit tokens into MultiPartyEscrow contract
snet identity client
snet client balance
snet client deposit 1000 -y
Expand Down
3 changes: 3 additions & 0 deletions workshop/docker/stop_service.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
screen -ls | grep Detached | cut -d. -f1 | xargs kill

0 comments on commit 096bfe9

Please sign in to comment.