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:
parent
c85817edf5
commit
3ddcd4ea49
2 changed files with 5 additions and 3 deletions
|
@ -91,7 +91,7 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/freshrss.conf
|
||||||
|
|
||||||
#install php5-cli
|
#install php5-cli
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y php5-cli
|
sudo apt-get install -y php5-cli php5-gmp
|
||||||
#install update cron
|
#install update cron
|
||||||
echo "*/10 * * * * www-data /usr/bin/php $final_path/app/actualize_script.php >/tmp/FreshRSS.log 2>&1" > /tmp/cronfreshrss
|
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
|
sudo mv /tmp/cronfreshrss /etc/cron.d/freshrss
|
||||||
|
|
|
@ -14,3 +14,5 @@ sudo rm $final_path/update-ynh.php
|
||||||
# Set permissions to freshrss directory
|
# Set permissions to freshrss directory
|
||||||
sudo chown -R www-data: $final_path/data/
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue