Skip to content

Commit

Permalink
added sleep before config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thelolagemann authored Dec 13, 2024
1 parent bbab1b1 commit 639bf5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export RIG_NAME=${RIG_NAME:-$(tr -dc A-Za-z0-9 </dev/urandom | head -c 8 ; echo
# xmrig-workers control
if [ "$XMRIG_WORKERS_ENABLED" = true ]; then
/xmrig-workers/server &
sleep 5
fi

exec xmrig -c /cfg/config.json -p "$RIG_NAME"

0 comments on commit 639bf5f

Please sign in to comment.