mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Added production files
This commit is contained in:
parent
3c553e0dad
commit
8e8f300668
6 changed files with 45 additions and 2 deletions
17
conf/supervisor/webvirtcloud.conf
Normal file
17
conf/supervisor/webvirtcloud.conf
Normal file
|
@ -0,0 +1,17 @@
|
|||
[program:webvirtcloud]
|
||||
command=/usr/bin/python /var/www/webvirtcloud/manage.py run_gunicorn -c /var/www/webvirtcloud/conf/gunicorn.conf.py
|
||||
directory=/var/www/webvirtcloud
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/webvirtcloud.log
|
||||
redirect_stderr=true
|
||||
user=www-data
|
||||
|
||||
[program:consoled]
|
||||
command=/usr/bin/python /var/www/webvirtcloud/console/consoled
|
||||
directory=/var/www/webvirtcloud
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/consoled.log
|
||||
redirect_stderr=true
|
||||
user=www-data
|
Loading…
Add table
Add a link
Reference in a new issue