Commit 4eef2f76 authored by Laurent Peuch's avatar Laurent Peuch

[enh] start supporting domain for neutrinet application

parent 96894697
......@@ -12,5 +12,25 @@
"url": "http://worlddomination.be"
},
"multi_instance": "false",
"arguments": {}
"arguments": {
"install" : [
{
"name": "domain",
"ask": {
"en": "Choose a domain for Neutrinet application",
"fr": "Choisissez un domaine pour l'application Neutrinet"
},
"example": "domain.org"
},
{
"name": "path",
"ask": {
"en": "Choose a path for Neutrinet application",
"fr": "Choisissez un chemin pour l'application Neutrinet"
},
"example": "/neutrinet",
"default": "/neutrinet"
}
]
}
}
set -e
# Retrieve arguments
domain=$1
path=$2
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a neutrinet
if [[ ! $? -eq 0 ]]; then
exit 1
fi
source ./commons
install_renew_cert() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment