pull/3/head
Josué 9 years ago
parent 7df5d04f0c
commit ce1535df79

@ -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

@ -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

Loading…
Cancel
Save