Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ilja
neutrinet_ynh
Commits
4eef2f76
Commit
4eef2f76
authored
Jun 10, 2016
by
Laurent Peuch
Browse files
[enh] start supporting domain for neutrinet application
parent
96894697
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifest.json
View file @
4eef2f76
...
...
@@ -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"
}
]
}
}
scripts/install
View file @
4eef2f76
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() {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment