Merge pull request #15 from Josue-T/patch-2
Add sudo to service command
This commit is contained in:
commit
f55bb8019e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user