From a0a7896f8ab9d4feceec4605ae9b6b2740b10f35 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Mon, 9 Dec 2013 15:34:11 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8724c9a..62fc5b7 100755 --- a/scripts/install +++ b/scripts/install @@ -49,6 +49,7 @@ sudo cp -a ../sources/* $final_path sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/owncloud.conf sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/owncloud.conf sudo cp ../conf/php-fpm.ini /etc/php5/fpm/conf.d/20-owncloud.ini +sudo cp ../conf/mount.json $data_path # Change variables in Owncloud configuration sudo sed -i "s@PATHTOCHANGE@$path@g" /etc/nginx/conf.d/$domain.d/owncloud.conf @@ -63,7 +64,6 @@ do then sudo setfacl -m g:owncloud:rwx /home/$i sudo mkdir $data_path/$i - echo "{\"user\":{\"$i\":{\"/\$user/files/Local\":{\"class\":\"\\OC\\Files\\Storage\\Local\",\"options\":{\"datadir\":\"/home/$i\"}}}}}" | sudo tee $data_path/$i/mount.json fi done sudo chown -hR owncloud: $final_path -- 2.0.0