Merge pull request #15 from Josue-T/patch-2

Add sudo to service command
This commit is contained in:
abeudin 2015-11-20 22:52:27 +01:00
commit f55bb8019e

View File

@ -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 sudo sed -i "s/yunobase/$db_user/g" $final_path/syncserver.ini
# stop service before upgrade # stop service before upgrade
service ffsync stop sudo 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