Set required version to 2.7.2 and remove sudo prefixes

This commit is contained in:
Jimmy Monin 2017-08-23 17:11:20 +02:00
parent 078548ddd5
commit 64bbd30989
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
"url": "http://example.com"
},
"requirements": {
"yunohost": ">= 2.6.4"
"yunohost": ">= 2.7.2"
},
"multi_instance": true,
"services": [

View file

@ -63,7 +63,7 @@ fi
# Change the domain for nginx
if [ $change_domain -eq 1 ]
then
sudo mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
fi
#=================================================
@ -78,4 +78,4 @@ fi
# RELOAD NGINX
#=================================================
sudo systemctl reload nginx
systemctl reload nginx