kopia lustrzana https://github.com/OpenDroneMap/WebODM
Service path changes
rodzic
d3b7a2fd5b
commit
eabfa7ab45
|
@ -8,9 +8,9 @@ User=odm
|
||||||
Group=odm
|
Group=odm
|
||||||
PIDFile=/run/webodm-gunicorn.pid
|
PIDFile=/run/webodm-gunicorn.pid
|
||||||
WorkingDirectory=/webodm
|
WorkingDirectory=/webodm
|
||||||
ExecStart=/webodm/python3-venv/bin/gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 250 --preload
|
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
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
|
@ -1,16 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Start WebODM Nginx Service Container
|
Description=Start WebODM Nginx Service Container
|
||||||
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/webodm-nginx.pid
|
PIDFile=/run/webodm-nginx.pid
|
||||||
ExecStartPre=/usr/sbin/nginx -t
|
ExecStartPre=/usr/sbin/nginx -t -c /webodm/nginx/nginx.conf
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
|
||||||
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
||||||
PrivateTmp=false
|
|
||||||
ExecStart=/usr/sbin/nginx -c /webodm/nginx/nginx.conf
|
ExecStart=/usr/sbin/nginx -c /webodm/nginx/nginx.conf
|
||||||
Restart=on-failure
|
ExecReload=/usr/sbin/nginx -s reload
|
||||||
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
||||||
|
PrivateTmp=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue