From 1d790cfc6631215e46c19167bbec6833e6557f14 Mon Sep 17 00:00:00 2001 From: abeudin Date: Thu, 29 May 2014 14:04:56 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index bd65353..98169b4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,6 +33,9 @@ sudo cp ../conf/radicale.wsgi $final_path # Copy uwsgi config sudo cp ../conf/radicale.ini /etc/uwsgi/apps-available/ +# Update nginx config +sudo find /etc/nginx/conf.d/ -name radicale.conf -exec sed -i 's@tmp\/radicale.sock@run\/uwsgi\/app\/searx\/socket@' {} \; + # Fix permission sudo chmod 755 /etc/radicale/ sudo find /opt/yunohost/radicale/ -type d -exec chmod 2755 {} \;