Remove use of directory under /run
Seems to get remove after reboot.
This commit is contained in:
parent
74cda53eba
commit
bc5849dbfc
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
upstream {{ site_name }}_django_wsgi {
|
upstream {{ site_name }}_django_wsgi {
|
||||||
keepalive 2; # Cache 2 connections.
|
keepalive 2; # Cache 2 connections.
|
||||||
server unix:/run/symposion/{{ site_name }}_uwsgi.sock;
|
server unix:/run/{{ site_name }}_uwsgi.sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
|
@ -5,7 +5,7 @@ chdir = {{ project_dir }}
|
||||||
home = {{ virtualenv }}
|
home = {{ virtualenv }}
|
||||||
module = pinaxcon.wsgi
|
module = pinaxcon.wsgi
|
||||||
master = true
|
master = true
|
||||||
socket = /run/symposion/{{ site_name }}_uwsgi.sock
|
socket = /run/{{ site_name }}_uwsgi.sock
|
||||||
processes = 3
|
processes = 3
|
||||||
# Reduced this again now that reports are deferred to a queued task. Could
|
# Reduced this again now that reports are deferred to a queued task. Could
|
||||||
# potentially be further reduced.
|
# potentially be further reduced.
|
||||||
|
@ -18,7 +18,7 @@ log-prefix = {{ site_name }}
|
||||||
|
|
||||||
# Enable uWSGI stats server for use with uwsgitop.
|
# Enable uWSGI stats server for use with uwsgitop.
|
||||||
# Run with: `sudo -u www-data uwsgitop /run/{{ site_name }}/django_uwsgi_stats.socket`
|
# Run with: `sudo -u www-data uwsgitop /run/{{ site_name }}/django_uwsgi_stats.socket`
|
||||||
stats = /run/{{ site_name }}/django_uwsgi_stats.socket
|
stats = /run/{{ site_name }}_uwsgi_stats.socket
|
||||||
# Memory reporting is useful for reviewing memory consumption with uwsgitop, but
|
# Memory reporting is useful for reviewing memory consumption with uwsgitop, but
|
||||||
# makes the logs a little noiser.
|
# makes the logs a little noiser.
|
||||||
# memory-report = true
|
# memory-report = true
|
||||||
|
|
Loading…
Reference in a new issue