Skip to content
Snippets Groups Projects
Commit 2da059b8 authored by TonyFord's avatar TonyFord
Browse files

add blocknotify

parent a4d2f4f0
No related branches found
No related tags found
No related merge requests found
Pipeline #989 passed
#!/bin/bash
PATH="$1/.."
if [ -e $PATH/pulse.faircoin.co/script/getdata.py ]
then
cd $PATH/pulse.faircoin.co/script
python3 getdata.py
fi
......@@ -12,8 +12,10 @@ services:
FAIRCOIN_PORT: ${FAIRCOIN_PORT}
container_name: FairCoin.Co-faircoind
restart: always
command: '-disablewallet -port=${FAIRCOIN_PORT}'
command: '-disablewallet -port=${FAIRCOIN_PORT} -blocknotify=./script/blocknotify.sh'
network_mode: "host"
user: "${GITLAB_RUNNER_UID}:${GITLAB_RUNNER_GID}"
volumes:
- ~/.faircoin2:/home/faircoin/.faircoin2
- ./script:/home/faircoin/script
- ${CI_PROJECT_DIR}/../pulse.faircoin.co:/home/faircoin/pulse.faircoin.co/script:rw
#!/bin/bash
echo "OK" > ttt.txt
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