Remove sentry from supercronic docker_start.sh
This commit is contained in:
parent
548f2f2201
commit
56fa5372b7
|
|
@ -16,9 +16,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use sentry for supercronic only in prod* environments
|
# Use sentry for supercronic only in prod* environments
|
||||||
if [[ $IT_APP_ENVIRONMENT == prod* ]]; then
|
# FIXME: does not seem to work
|
||||||
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
|
#if [[ $IT_APP_ENVIRONMENT == prod* ]]; then
|
||||||
fi
|
# 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
|
# Set the command to run supervisord
|
||||||
/home/django/.local/bin/supervisord -c /app/supervisord.conf
|
/home/django/.local/bin/supervisord -c /app/supervisord.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue