diff --git a/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh b/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh index f325e25..2171d61 100644 --- a/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh +++ b/apps/rlark/pkg/agent/controllers/task/files/ray_head.sh @@ -10,7 +10,7 @@ fi # Phase 0: Start rlark-tools sshd if the binary is available if [ -n "$RLARK_SSH_PUBLIC_KEY" ] && [ -x /rlark-tools/rlark-tools ]; then - nohup /rlark-tools/rlark-tools sshd -port 22 > /tmp/rlark-sshd.log 2>&1 & + nohup /rlark-tools/rlark-tools sshd --port 22 > /tmp/rlark-sshd.log 2>&1 & echo "rlark-tools sshd started on port 22" elif [ -n "$RLARK_SSH_PUBLIC_KEY" ]; then mkdir -p ~/.ssh && chmod 700 ~/.ssh diff --git a/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh b/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh index 314ae64..a065729 100644 --- a/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh +++ b/apps/rlark/pkg/agent/controllers/task/files/ray_worker.sh @@ -10,7 +10,7 @@ fi # Phase 0: Inject SSH public key into authorized_keys if [ -n "$RLARK_SSH_PUBLIC_KEY" ] && [ -x /rlark-tools/rlark-tools ]; then - nohup /rlark-tools/rlark-tools sshd -port 2222 > /tmp/rlark-sshd.log 2>&1 & + nohup /rlark-tools/rlark-tools sshd --port 2222 > /tmp/rlark-sshd.log 2>&1 & echo "rlark-tools sshd started on port 2222" elif [ -n "$RLARK_SSH_PUBLIC_KEY" ]; then mkdir -p ~/.ssh && chmod 700 ~/.ssh