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 #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
# 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