Skip to content

Instantly share code, notes, and snippets.

@tracernz
Created March 6, 2018 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tracernz/d06ea341b01b5dfc9a419beda4b944f6 to your computer and use it in GitHub Desktop.
Save tracernz/d06ea341b01b5dfc9a419beda4b944f6 to your computer and use it in GitHub Desktop.
[Unit]
Description=WebVirtMgr Application Server
Wants=network.target
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python2 /usr/lib/webvirtmgr/manage.py run_gunicorn -c /usr/lib/webvirtmgr/conf/gunicorn.conf.py
User=webvirtmgr
WorkingDirectory=/usr/lib/webvirtmgr
Environment=PYTHONPATH=/usr/lib/webvirtmgr/lib
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment