Commit 55626cb3b65d6d965353e6c2b16b99b6b80ea20a

Authored by Alexis Gavoty
1 parent 45ebf1e60e
Exists in master

Update install

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -61,6 +61,7 @@ sudo yunohost app ssowatconf
61 61  
62 62 # Owncloud installation via curl
63 63 echo "127.0.0.1 $domain #yunoowncloud" | sudo tee -a /etc/hosts
  64 +sleep 1
64 65 curl -kL -X POST https://$domain$path/index.php --data "install=true&adminlogin=admin&adminpass=$admin_passwd&directory=/var/www/owncloud/data&dbtype=mysql&dbuser=$db_user&dbpass=$db_pwd&dbname=$db_user&dbhost=localhost" > /dev/null 2>&1
65 66  
66 67 # Check if the Mysql database is initialized & running