From 8b514a00ce1cd322f76477263c5e855e35743ccc Mon Sep 17 00:00:00 2001 From: abeudin Date: Thu, 5 Dec 2013 09:30:06 +0100 Subject: [PATCH] Update install --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 4eb99ff..22a268e 100755 --- a/scripts/install +++ b/scripts/install @@ -50,9 +50,14 @@ then apt-get install php5-cli fi curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash +export PATH=/home/admin/.wp-cli/bin:$PATH wp core install --url=$domain$path --title=Yunohost --admin_user=admin --admin_password=$admin_passwd --admin_email=admin@$domain --path=$final_path wp plugin activate http-authentication --path=$final_path # Reload Nginx and regenerate SSOwat conf sudo service nginx reload sudo yunohost app ssowatconf + +# Remove swap +sudo swapoff /var/swap.1 +rm -Rf /var/swap.1