diff --git a/scripts/install b/scripts/install index d245c28..009f153 100644 --- a/scripts/install +++ b/scripts/install @@ -32,9 +32,10 @@ sudo sed -i "s/yunouser/$db_user/g" $final_path/config.php sudo sed -i "s/yunopass/$db_pwd/g" $final_path/config.php sudo sed -i "s/yunobase/$db_user/g" $final_path/config.php sudo sed -i "s,yunopath,https://$domain$path,g" $final_path/config.php -echo "*/30 * * * * www-data cd $final_path && /usr/bin/php $final_path/update.php -feeds >/dev/null 2>&1" > /tmp/cronttrss +echo "*/30 * * * * www-data cd $final_path && /usr/bin/php $final_path/update.php --feeds >/dev/null 2>&1" > /tmp/cronttrss sudo mv /tmp/cronttrss /etc/cron.d/ttrss sudo chown root /etc/cron.d/ttrss +sudo apt-get install php5-cli -y #add folder sudo mkdir $final_path/cache/{export,images,upload,js} @@ -54,4 +55,4 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ttrss.conf # Reload Nginx and regenerate SSOwat conf sudo service nginx reload sudo yunohost app ssowatconf -yunohost app setting ttrss skipped_uris "/public.php" +sudo yunohost app setting ttrss skipped_uris -v "/public.php"