From f821f38d780c4bb53d4183122e8a39fdb15fa4c1 Mon Sep 17 00:00:00 2001 From: Josue-T Date: Fri, 20 Nov 2015 21:46:50 +0100 Subject: [PATCH] Add sudo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e96cf47..de5cf03 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ sudo sed -i "s/yunopass/$db_pwd/g" $final_path/syncserver.ini sudo sed -i "s/yunobase/$db_user/g" $final_path/syncserver.ini # stop service before upgrade -service ffsync stop +sudo service ffsync stop # Init virtualenv cd $final_path && sudo make build && sudo ./local/bin/easy_install gunicorn