mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Update install
change cron right
This commit is contained in:
parent
1674d6b402
commit
8296b0827d
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ 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
|
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 mv /tmp/cronttrss /etc/cron.d/ttrss
|
||||||
|
sudo chown root /etc/cron.d/ttrss
|
||||||
|
|
||||||
#add folder
|
#add folder
|
||||||
sudo mkdir $final_path/cache/{export,images,upload,js}
|
sudo mkdir $final_path/cache/{export,images,upload,js}
|
||||||
sudo mkdir $final_path/{feed-icons,lock}
|
sudo mkdir $final_path/{feed-icons,lock}
|
||||||
|
|
Loading…
Reference in a new issue