Advertisement
Guest User

Untitled

a guest
Sep 20th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. [Unit]
  2. Description=HTTP Observatory API
  3. After=network.target auditd.service
  4.  
  5. [Service]
  6. WorkingDirectory=/opt/http-observatory
  7. Environment=HTTPOBS_DATABASE_USER=httpobsapi HTTPOBS_DATABASE_PASS=secret
  8. ExecStart=/opt/http-observatory/venv/bin/uwsgi --http :57001 --wsgi-file httpobs/website/main.py --processes 8 --callable app --master
  9. Restart=on-failure
  10. User=httpobs
  11. Group=httpobs
  12.  
  13. [Install]
  14. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement