mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Update install
This commit is contained in:
parent
bde94474d3
commit
0c0f027b79
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ secret=$(head -c 20 /dev/urandom | sha1sum | cut -d " " -f1)
|
|||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ffsync.conf
|
||||
sudo cp ../conf/syncserver.ini $final_path/syncserver.ini
|
||||
sudo sed -i -e "s@ynhbaseurl@$domain$path@g" $final_path/syncserver.ini
|
||||
sudo sed -i -e "s@changesecret@$secret@g" $final_path/syncserver.ini
|
||||
sudo sed -i "s/yunouser/$db_user/g" $final_path/syncserver.ini
|
||||
|
|
Loading…
Reference in a new issue