1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yacy_ynh.git synced 2024-09-03 18:05:59 +02:00
This commit is contained in:
moul 2014-10-21 18:40:07 +02:00
commit 52e725bda4
3 changed files with 30 additions and 1 deletions

View file

@ -4,11 +4,15 @@
"description": { "description": {
"en": "Free and decentrelized search engine", "en": "Free and decentrelized search engine",
"fr": "Moteur de recherche libre et décentralisé" "fr": "Moteur de recherche libre et décentralisé"
{
categories:[
search-engine]
}
}, },
"developer": { "developer": {
"name": "Moul", "name": "Moul",
"email": "moul@moul.re", "email": "moul@moul.re",
"url": "url": "yunohost.org"
}, },
"multi_instance": "true", "multi_instance": "true",
"arguments": { "arguments": {
@ -16,16 +20,26 @@
{ {
"name": "domain", "name": "domain",
"ask": { "ask": {
<<<<<<< HEAD
"en": "Choose a domain for YaCy", "en": "Choose a domain for YaCy",
"fr": "Choisisez un nom de domaine sur lequel installer YaCy" "fr": "Choisisez un nom de domaine sur lequel installer YaCy"
=======
"en": "Choose a domain for YaCy"
"fr": "Choisi un nom de domaine pour YaCy"
>>>>>>> 26d191cc215b468d1303bc3f4f3b54262d1ede09
}, },
"example": "domain.org" "example": "domain.org"
}, },
{ {
"name": "path", "name": "path",
"ask": { "ask": {
<<<<<<< HEAD
"en": "Choose a path for YaCy", "en": "Choose a path for YaCy",
"fr": "Choisisez une adresse sur laquelle installer YaCy" "fr": "Choisisez une adresse sur laquelle installer YaCy"
=======
"en": "Choose a path for YaCy"
"fr": "Choisi une adresse pour YaCy"
>>>>>>> 26d191cc215b468d1303bc3f4f3b54262d1ede09
}, },
"example": "/yacy", "example": "/yacy",
"default": "/yacy" "default": "/yacy"

View file

@ -35,6 +35,9 @@ echo 'iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8090
# Add YaCy service to the YunoHost monitoring # Add YaCy service to the YunoHost monitoring
sudo yunohost service add yacy --log /var/log/yacy/yacy00.log 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 # Reload Nginx and regenerate SSOwat conf
sudo service nginx reload sudo service nginx reload
sudo yunohost app ssowatconf sudo yunohost app ssowatconf

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
<<<<<<< HEAD
# Remove Debian official paquage # Remove Debian official paquage
sudo apt-get remove yacy sudo apt-get remove yacy
@ -8,3 +9,14 @@ sudo yunohost service remove yacy --log /var/log/yacy/yacy00.log
sudo service nginx reload sudo service nginx reload
sudo yunohost app ssowatconf sudo yunohost app ssowatconf
=======
#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
>>>>>>> 26d191cc215b468d1303bc3f4f3b54262d1ede09