mirror of
https://github.com/bellingcat/osm-search.git
synced 2026-06-07 19:18:32 +03:00
Create README.md
This commit is contained in:
18
api/README.md
Normal file
18
api/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## systemd configuration
|
||||
|
||||
`/etc/systemd/system/osm-api.service`
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=Gunicorn instance to serve osm-api
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=www-data
|
||||
WorkingDirectory=/root/osm-api
|
||||
ExecStart=/usr/local/bin/pipenv run gunicorn --workers 3 -t 120 --bind 0.0.0.0:5000 api:app
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
Reference in New Issue
Block a user