mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
socket is now in /tmp/ as /var/run/ihatemoney gets rm on each reboot
fixes #3
This commit is contained in:
parent
4f11a695f7
commit
96b92b6ee6
3 changed files with 3 additions and 3 deletions
|
@ -4,4 +4,4 @@ debug = True
|
||||||
workers = 3
|
workers = 3
|
||||||
logfile = "/var/log/ihatemoney/budget.gunicorn.log"
|
logfile = "/var/log/ihatemoney/budget.gunicorn.log"
|
||||||
loglevel = "info"
|
loglevel = "info"
|
||||||
bind = "unix:/var/run/ihatemoney/budget.gunicorn.sock"
|
bind = "unix:/tmp/budget.gunicorn.sock"
|
||||||
|
|
|
@ -13,7 +13,7 @@ location PATHTOCHANGE/ {
|
||||||
proxy_busy_buffers_size 32k;
|
proxy_busy_buffers_size 32k;
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
if (!-f $request_filename) {
|
if (!-f $request_filename) {
|
||||||
proxy_pass http://unix:/var/run/ihatemoney/budget.gunicorn.sock;
|
proxy_pass http://unix:/tmp/budget.gunicorn.sock;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ sudo chown -R www-data:www-data /opt/yunohost/ihatemoney/src/budget/static
|
||||||
|
|
||||||
# Create various dirs
|
# Create various dirs
|
||||||
sudo install -o ihatemoney -g ihatemoney -m 755 \
|
sudo install -o ihatemoney -g ihatemoney -m 755 \
|
||||||
-d /var/log/ihatemoney /etc/ihatemoney /var/run/ihatemoney/
|
-d /var/log/ihatemoney /etc/ihatemoney
|
||||||
|
|
||||||
# Configure gunicorn
|
# Configure gunicorn
|
||||||
sudo install -o ihatemoney -g ihatemoney -m 644 \
|
sudo install -o ihatemoney -g ihatemoney -m 644 \
|
||||||
|
|
Loading…
Reference in a new issue