Files
photoassistant/wrapper.sh

5 lines
288 B
Bash
Executable File

#!/bin/bash
su mythtv -g mythtv -c "python3 /code/pa_job_manager.py" &
gunicorn --bind=0.0.0.0:443 --workers=4 --threads=16 --certfile /etc/letsencrypt/live/pa.depaoli.id.au/fullchain.pem --keyfile /etc/letsencrypt/live/pa.depaoli.id.au/privkey.pem main:app --env FLASK_ENV="production"