refactor(docker): when l;aunching gunicorn create a pid file

ref: #947
This commit is contained in:
2025-08-12 12:51:16 +09:30
parent 6732315b96
commit 037fbabeae

View File

@ -7,4 +7,4 @@ autorestart=true
stdout_logfile=/var/log/%(program_name)s.log
stderr_logfile=/var/log/%(program_name)s.log
directory=/app
command=gunicorn --config=/etc/gunicorn.conf.py centurion.wsgi:application
command=gunicorn --config=/etc/gunicorn.conf.py --pid=/run/gunicorn.pid centurion.wsgi:application