Skip to content
Snippets Groups Projects
Commit 106e126c authored by TonyFord's avatar TonyFord
Browse files

add stop faircoind

parent 97800b23
No related branches found
No related tags found
No related merge requests found
Pipeline #994 failed
......@@ -19,6 +19,7 @@ build-faircoind:
- source ${FAIRCOIN_CONF}
- echo -e "rpcconnect=${rpcconnect}\nrpcport=${rpcport}\nrpcuser=${rpcuser}\nrpcpassword=${rpcpassword}\ntxindex=1" > ~/.faircoin2/faircoin.conf
script:
- docker-compose exec faircoin ./faircoin-cli stop
- docker-compose down
- docker-compose build
......@@ -32,6 +33,7 @@ start-faircoind:
variables:
- $CMD =~ /build|start/
script:
- docker-compose exec faircoin ./faircoin-cli stop
- docker-compose down
- docker-compose up -d
......@@ -45,6 +47,7 @@ stop-faircoind:
variables:
- $CMD =~ /stop/
script:
- docker-compose exec faircoin ./faircoin-cli stop
- docker-compose stop
uninstall-faircoind:
......@@ -57,6 +60,7 @@ uninstall-faircoind:
variables:
- $CMD =~ /uninstall/
script:
- docker-compose exec faircoin ./faircoin-cli stop
- docker-compose down
remove-faircoind:
......@@ -69,6 +73,7 @@ remove-faircoind:
variables:
- $CMD =~ /remove/
script:
- docker-compose exec faircoin ./faircoin-cli stop
- docker-compose down
after_script:
- rm -R ~/.faircoin2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment