made pa_job_manager use mythtv:mythtv, but had to hardcode PJM_* vars, I tried to pass them through docker-compose.yml

This commit is contained in:
2021-03-18 19:08:30 +11:00
parent 2cd55580a9
commit 924058e18d
2 changed files with 5 additions and 1 deletions

View File

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