parent
1413857004
commit
dcb7e920ed
@ -0,0 +1,13 @@ |
|||||||
|
[Unit] |
||||||
|
Description=Gunicorn instance to serve Albatros/Thoth |
||||||
|
After=network.target |
||||||
|
|
||||||
|
[Service] |
||||||
|
User=sammy |
||||||
|
Group=www-data |
||||||
|
WorkingDirectory=/home/albatros/albatrosfolder |
||||||
|
Environment="PATH=/home/albatros/albatrosfolder/.venv/bin;JWT_SECRET_KEY=CHANGE_ME;JANUS_URL=http:/changeme export;JANUS_ADMIN_KEY=CHANGE_ME;MONGODB_URL=mongodb://server/db" |
||||||
|
ExecStart=/home/albatros/albatrosfolder/.venv/bin --workers 3 --bind unix:myproject.sock -m 007 wsgi:app |
||||||
|
|
||||||
|
[Install] |
||||||
|
WantedBy=multi-user.target |
Loading…
Reference in new issue