zhongrj
2025-11-25 b89962006164a462404b79a738bee8cbb6d7fe7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Start WebODM Gunicorn Service Container
Requires=webodm-nginx.service postgresql.service redis.service
After=webodm-nginx.service postgresql.service redis.service
 
[Service]
Type=simple
User=odm
Group=odm
PIDFile=/run/webodm-gunicorn.pid
WorkingDirectory=/webodm
ExecStart=/webodm/python3-venv/bin/gunicorn webodm.wsgi --bind unix:/webodm/gunicorn.sock --timeout 300000 --max-requests 250 --preload
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure
 
[Install]
WantedBy=multi-user.target