From b367c804776a032df0981310694c943699887cd6 Mon Sep 17 00:00:00 2001 From: Marijan Smetko Date: Tue, 28 Feb 2023 20:55:16 +0100 Subject: [PATCH] Switch entrypoint shell from `sh` to `bash` (#141) --- docker/services/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/services/entrypoint.sh b/docker/services/entrypoint.sh index b395e30..42fd2ff 100755 --- a/docker/services/entrypoint.sh +++ b/docker/services/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh +x +#!/bin/bash +x if [ -n "$SHUTDOWN_IF_NO_ACCESS_KEY" ] && [ -z "$CLEARML_API_ACCESS_KEY" ] && [ -z "$TRAINS_API_ACCESS_KEY" ]; then echo "CLEARML_API_ACCESS_KEY was not provided, service will not be started" @@ -33,4 +33,4 @@ if [ -z "$CLEARML_AGENT_NO_UPDATE" ]; then fi fi -clearml-agent daemon $DAEMON_OPTIONS --queue $QUEUES --docker "${CLEARML_AGENT_DEFAULT_BASE_DOCKER:-$TRAINS_AGENT_DEFAULT_BASE_DOCKER}" --cpu-only ${CLEARML_AGENT_EXTRA_ARGS:-$TRAINS_AGENT_EXTRA_ARGS} \ No newline at end of file +clearml-agent daemon $DAEMON_OPTIONS --queue $QUEUES --docker "${CLEARML_AGENT_DEFAULT_BASE_DOCKER:-$TRAINS_AGENT_DEFAULT_BASE_DOCKER}" --cpu-only ${CLEARML_AGENT_EXTRA_ARGS:-$TRAINS_AGENT_EXTRA_ARGS}