diff --git a/services/crypto/xmr-miner/deployment.yaml b/services/crypto/xmr-miner/deployment.yaml index f7f4711..efc00ca 100644 --- a/services/crypto/xmr-miner/deployment.yaml +++ b/services/crypto/xmr-miner/deployment.yaml @@ -47,7 +47,7 @@ spec: mkdir -p /opt/p2pool tar -xzf /tmp/p2pool.tgz -C /opt/p2pool ls -l /opt/p2pool - BIN="$(find /opt/p2pool -maxdepth 1 -type f -name 'p2pool*' | head -n1)" + BIN="$(find /opt/p2pool -maxdepth 2 -type f -name 'p2pool*' | head -n1)" test -n "${BIN}" install -m0755 "${BIN}" /opt/p2pool/p2pool env: