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:
commit
f55bb8019e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue