Fix user in service
parent
377da58b04
commit
853ade2776
|
@ -3,8 +3,8 @@ Description=Gunicorn instance to serve repo_api
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=ogrepository
|
||||||
Group=root
|
Group=ogrepository
|
||||||
WorkingDirectory=/opt/opengnsys/ogrepository/api
|
WorkingDirectory=/opt/opengnsys/ogrepository/api
|
||||||
ExecStart=/usr/bin/gunicorn -w 4 -b 0.0.0.0:8006 repo_api:app
|
ExecStart=/usr/bin/gunicorn -w 4 -b 0.0.0.0:8006 repo_api:app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue