wsm.rest.service 393 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Gunicorn instance to World Soil Museum ReST API
After=network.target

[Service]
User=duque004
Group=www-data
WorkingDirectory=/home/duque004/git/wsm.rest
Environment="PATH=/home/duque004/git/wsm.rest/wsm.rest.env/bin"
ExecStart=/home/duque004/git/wsm.rest/wsm.rest.env/bin/gunicorn --workers 3 --bind unix:wsm.rest.sock -m 007 wsgi:app

[Install]
WantedBy=multi-user.target