From 64bbd30989c89ed5fd00027475cae3d273dd8aa0 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Wed, 23 Aug 2017 17:11:20 +0200 Subject: [PATCH] Set required version to 2.7.2 and remove sudo prefixes --- manifest.json | 2 +- scripts/change_url | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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