From eb356d655f06efce6ea39253c7f470ba1c6e0e51 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 10 Jul 2014 11:19:25 +0000 Subject: [PATCH 1/2] Add remove script --- manifest.json | 2 +- scripts/install | 3 +++ scripts/remove | 13 +++++++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 943a59c..281bdbf 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "developer": { "name": "Moul", "email": "moul@moul.re", - "url": + "url": "yunohost.org" }, "multi_instance": "true", "arguments": { diff --git a/scripts/install b/scripts/install index 696ead2..c1f2173 100644 --- a/scripts/install +++ b/scripts/install @@ -33,6 +33,9 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/yacy.conf # Ajouter le service YaCy au monitoring YunoHost sudo yunohost service add yacy --log /var/log/yacy/yacy00.log +#Relancer le service YaCy avec la nouvelle configuration +sudo yunohost service yacy restart + # Reload Nginx and regenerate SSOwat conf sudo service nginx reload sudo yunohost app ssowatconf diff --git a/scripts/remove b/scripts/remove index bfcd77b..02edf12 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,11 @@ #!/bin/bash -db_user=yacy -db_name=yacy -root_pwd=$(sudo cat /etc/yunohost/mysql) -domain=$(sudo yunohost app setting yacy domain) +#Remove official Debian package +sudo apt-get remove yacy -y -qq + +#Remove YaCy service to YunoHost monitoring +sudo yunohost service remove yacy + +#Reload Nginx and regenerate SSOwat conf +sudo service nginx reload +sudo yunohost app ssowatconf From 26d191cc215b468d1303bc3f4f3b54262d1ede09 Mon Sep 17 00:00:00 2001 From: M5oul Date: Sun, 14 Sep 2014 01:51:10 +0200 Subject: [PATCH 2/2] Update manifest.json Add french description and caterory --- manifest.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifest.json b/manifest.json index 281bdbf..5278171 100644 --- a/manifest.json +++ b/manifest.json @@ -4,6 +4,10 @@ "description": { "en": "Free and decentrelized search engine", "fr": "Moteur de recherche libre et décentralisé" + { + categories:[ + search-engine] + } }, "developer": { "name": "Moul", @@ -17,6 +21,7 @@ "name": "domain", "ask": { "en": "Choose a domain for YaCy" + "fr": "Choisi un nom de domaine pour YaCy" }, "example": "domain.org" }, @@ -24,6 +29,7 @@ "name": "path", "ask": { "en": "Choose a path for YaCy" + "fr": "Choisi une adresse pour YaCy" }, "example": "/yacy", "default": "/yacy"