mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
[fix]get mysql password
This commit is contained in:
parent
0f74110fa7
commit
98f3c6d768
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
db_user=freshrss
|
||||
db_name=freshrss
|
||||
db_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||
db_pwd=$(sudo yunohost app setting freshrss mysqlpwd)
|
||||
app_path=/var/www/freshrss
|
||||
|
||||
myuser=$1
|
||||
|
@ -18,4 +18,4 @@ sudo rm /tmp/$myuser-install.sql
|
|||
#copy default conf
|
||||
sudo cp -r $app_path/data/users/_ $app_path/data/users/$myuser/
|
||||
sudo mv $app_path/data/users/$myuser/config.default.php $app_path/data/users/$myuser/config.php
|
||||
sudo chown -R www-data: $app_path/data/users/$myuser/
|
||||
sudo chown -R www-data: $app_path/data/users/$myuser/
|
||||
|
|
Loading…
Add table
Reference in a new issue