mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
path fixe
This commit is contained in:
parent
30e43221a7
commit
cd582b1a11
1 changed files with 3 additions and 3 deletions
|
@ -24,15 +24,15 @@ sudo yunohost app setting ttrss mysqlpwd -v $db_pwd
|
|||
# Copy files to the right place
|
||||
final_path=/var/www/ttrss
|
||||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
sudo cp -a ../source/* $final_path
|
||||
sudo cp ../conf/config.php $final_path/
|
||||
|
||||
# Change variables in ttrss configuration
|
||||
sudo sed -i "s/yunouser/$db_user/g" $final_path/config.php
|
||||
sudo sed -i "s/yunopass/$db_pwf/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
|
||||
sudo echo "*/30 * * * * www-data cd $final_path && /usr/bin/php $final_path/update.php -feeds >/dev/null 2>&1" > /etc/cron.d/ttrss
|
||||
echo "*/30 * * * * www-data cd $final_path && /usr/bin/php $final_path/update.php -feeds >/dev/null 2>&1" > /etc/cron.d/ttrss
|
||||
|
||||
|
||||
# Set permissions to ttrss directory
|
||||
|
|
Loading…
Reference in a new issue