1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00
This commit is contained in:
Josué 2016-01-13 21:20:58 +01:00
parent 7df5d04f0c
commit ce1535df79
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ sudo yunohost app setting ffsync mysqlpwd -v $db_pwd
# Generate random password and save
secret=$(head -c 20 /dev/urandom | sha1sum | cut -d " " -f1)
sudo yunohost app setting $app secret -v $secret
sudo yunohost app setting ffsync secret -v $secret
# Check depends installation
sudo apt-get install make python-dev python-virtualenv -y

View file

@ -13,7 +13,7 @@ secret=$(sudo yunohost app setting ffsync secret)
if [[ -z $secret ]]
then
secret=$(sudo grep "secret =" $final_path/syncserver.ini | cut -d" " -f3)
sudo yunohost app setting $app secret -v $secret
sudo yunohost app setting ffsync secret -v $secret
fi
# Check Swap