mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Moved all to virtualenv
This commit is contained in:
parent
5714f0945a
commit
13e5d70ff3
6 changed files with 18 additions and 11 deletions
|
@ -5,7 +5,7 @@ server {
|
|||
#access_log /var/log/nginx/webvirtcloud-access_log;
|
||||
|
||||
location /static/ {
|
||||
root /var/www/webvirtcloud;
|
||||
root /srv/webvirtcloud;
|
||||
expires max;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
Django==1.8.2
|
||||
websockify==0.6.0
|
||||
gunicorn==19.3.0
|
||||
libvirt-python==1.2.16
|
||||
https://github.com/retspen/retspen.github.io/raw/master/libxml2-python-2.9.1.tar.gz
|
|
@ -1,14 +1,14 @@
|
|||
[program:webvirtcloud]
|
||||
command=/usr/local/bin/gunicorn webvirtcloud.wsgi:application -c /var/www/webvirtcloud/gunicorn.conf.py
|
||||
directory=/var/www/webvirtcloud
|
||||
command=/srv/webvirtcloud/venv/bin/gunicorn webvirtcloud.wsgi:application -c /srv/webvirtcloud/gunicorn.conf.py
|
||||
directory=/srv/webvirtcloud
|
||||
user=www-data
|
||||
autostart=true
|
||||
autorestart=true
|
||||
redirect_stderr=true
|
||||
|
||||
[program:novncd]
|
||||
command=/usr/bin/python /var/www/webvirtcloud/console/novncd
|
||||
directory=/var/www/webvirtcloud
|
||||
command=/srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd
|
||||
directory=/srv/webvirtcloud
|
||||
user=www-data
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue