Commit e364ab2e authored by TonyFord's avatar TonyFord
Browse files

add sleep time reducing CPU usage

parent dc7dc9fa
Pipeline #68974 passed with stage
in 1 minute and 17 seconds
......@@ -45,8 +45,8 @@ ENV FAIRCHAINS_PATH=/home/faircoin/.fairchains/
RUN groupadd -g $RUNNER_GID faircoin
RUN useradd --create-home --shell /bin/bash faircoin --uid $RUNNER_UID --gid $RUNNER_GID
RUN mkdir -p /home/faircoin/.faircoin2
RUN chown -R faircoin:faircoin /home/faircoin/.faircoin2
RUN mkdir -p /home/faircoin/.fairchains
RUN chown -R faircoin:faircoin /home/faircoin/.fairchains
RUN mkdir -p /home/faircoin/scripts
RUN chown -R faircoin:faircoin /home/faircoin/scripts
......
......@@ -4,6 +4,7 @@ echo -e "deploy/build \t\t( build container images )"
echo -e "deploy/start \t\t( start container )"
echo -e "deploy/new_ssl \t\t( create new ssl cert for electrumx server )"
echo -e "deploy/stop \t\t( stop container )"
echo -e "deploy/install \t( run steps build + start + new_ssl )"
echo -e "deploy/uninstall \t( stop and remove container, named volumes will NOT removed )"
echo -e "deploy/remove \t\t( stop and remove container and images, named volumes WILL REMOVED )"
echo ""
File mode changed from 100644 to 100755
......@@ -28,7 +28,7 @@ services:
ports:
- 51811:51811
- 51812:51812
user: "${RUNNER_UID}:${RUNNER_GID}"
user: "${RUNNER_UID:-1000}:${RUNNER_GID:-1000}"
depends_on:
- faircoin
volumes:
......
......@@ -8,4 +8,4 @@ trap 'stop_faircoind' SIGINT
trap 'stop_faircoind' SIGKILL
trap 'stop_faircoind' SIGTERM
while true; do :; done
while true; do : sleep 5 ; done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment