1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

[enh]Add php gmp extention installation for api use

This commit is contained in:
Clément 2015-10-03 11:58:14 +02:00
parent c85817edf5
commit 3ddcd4ea49
2 changed files with 5 additions and 3 deletions

View file

@ -91,7 +91,7 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/freshrss.conf
#install php5-cli
sudo apt-get update
sudo apt-get install -y php5-cli
sudo apt-get install -y php5-cli php5-gmp
#install update cron
echo "*/10 * * * * www-data /usr/bin/php $final_path/app/actualize_script.php >/tmp/FreshRSS.log 2>&1" > /tmp/cronfreshrss
sudo mv /tmp/cronfreshrss /etc/cron.d/freshrss
@ -100,7 +100,7 @@ sudo chown root /etc/cron.d/freshrss
# Set permissions to freshrss directory
sudo chown -R www-data: $final_path/data/
sudo chown -R www-data: $final_path/extensions/
#skip api directory
#skip api directory
sudo yunohost app setting freshrss skipped_uris -v /api/greader.php
# Reload Nginx and regenerate SSOwat conf

View file

@ -13,4 +13,6 @@ sudo php $final_path/update-ynh.php
sudo rm $final_path/update-ynh.php
# Set permissions to freshrss directory
sudo chown -R www-data: $final_path/data/
sudo chown -R www-data: $final_path/extensions/
sudo chown -R www-data: $final_path/extensions/
sudo apt-get install -y php5-gmp