1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Merge pull request #13 from Josue-T/patch-1

Update upgrade script
This commit is contained in:
abeudin 2015-07-07 18:18:21 +02:00
commit 8a5104edef

View file

@ -31,6 +31,9 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sed -i "s@ALIASTOCHANGE@$final_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/nginx.conf /etc/nginx/conf.d/$domain.d/ffsync.conf
# stop service before upgrade
service ffsync stop
# Init virtualenv # Init virtualenv
cd $final_path && sudo make build && sudo ./local/bin/easy_install gunicorn cd $final_path && sudo make build && sudo ./local/bin/easy_install gunicorn