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