diff --git a/manifest.json b/manifest.json index a1f7b55..2273eb2 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "url": "http://example.com" }, "requirements": { - "yunohost": ">= 2.6.4" + "yunohost": ">= 2.7.2" }, "multi_instance": true, "services": [ diff --git a/scripts/change_url b/scripts/change_url index 428b71a..2f65629 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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