From 0c0f027b79e438460de9aeb862f965121c172ba0 Mon Sep 17 00:00:00 2001 From: abeudin Date: Tue, 30 Dec 2014 17:43:29 +0100 Subject: [PATCH] Update install --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 9eb2755..c26a979 100644 --- a/scripts/install +++ b/scripts/install @@ -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