Add lehrgang on startup

This commit is contained in:
Christian Cueni 2024-01-24 09:58:34 +01:00
parent 8f39b17d1e
commit 58213bcb90
1 changed files with 3 additions and 0 deletions

View File

@ -21,5 +21,8 @@ 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 # 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 #fi
# Create Prüfungslehrgang
python /app/manage.py create_vermittler_pruefung
# 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