diff --git a/compose/django/docker_start.sh b/compose/django/docker_start.sh index b6fa79cb..d88f2e2b 100644 --- a/compose/django/docker_start.sh +++ b/compose/django/docker_start.sh @@ -17,7 +17,7 @@ fi # Use sentry for supercronic only in prod* environments if [[ $IT_APP_ENVIRONMENT == prod* ]]; then - sed -i 's|command=/usr/local/bin/supercronic /app/supercronic_crontab|command=/usr/local/bin/supercronic /app/supercronic_crontab -sentry-dsn "$IT_SENTRY_DSN"|' /app/supervisord.conf + sed -i "s|command=/usr/local/bin/supercronic /app/supercronic_crontab|command=/usr/local/bin/supercronic /app/supercronic_crontab -sentry-dsn '$IT_SENTRY_DSN'|" /app/supervisord.conf fi # Set the command to run supervisord