Skip to content
Snippets Groups Projects
Commit 5c9fe074 authored by Niaz Faridani-Rad's avatar Niaz Faridani-Rad
Browse files

Log segmentation faults for better bug fixing

parent d38ba6aa
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
export PYTHONUNBUFFERED=TRUE
export PYTHONFAULTHANDLER=1
mkdir -p /logs
service statd start
python image_similarity/main.py 2>&1 | tee /logs/gunicorn_image_similarity.log &
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment