1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
ericgaspar 2021-06-07 16:56:26 +02:00
parent c84be4b8fc
commit 6411872e9d
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 5 additions and 35 deletions

View file

@ -1,7 +0,0 @@
language: node_js
before_install:
- git clone https://github.com/YunoHost/package_linter /tmp/package_linter
script:
- /tmp/package_linter/package_linter.py ./

View file

@ -1,17 +1,11 @@
# See here for more information
# https://github.com/YunoHost/package_check#syntax-check_process-file
# Move this file from check_process.default to check_process when you have filled it.
;; Test complet
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
domain="domain.tld"
path="/path"
admin="john"
language="fr"
is_public=1 (PUBLIC|public=1|private=0)
is_public=1
password="pass"
port="666" (PORT)
; Checks
pkg_linter=1
setup_sub_dir=1

View file

@ -19,45 +19,29 @@
"nginx"
],
"requirements": {
"yunohost": ">> 4.1.7"
"yunohost": ">> 4.2.4"
},
"arguments": {
"install" : [
{
"name": "domain",
"type": "domain",
"ask": {
"en": "Choose a domain for RocketChat",
"fr": "Choose a domain for RocketChat"
},
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for RocketChat",
"fr": "Choose a path for RocketChat"
},
"example": "/rocketchat",
"default": "/rocketchat"
},
{
"name": "is_public",
"type": "boolean",
"ask": {
"en": "Is it a public application?",
"fr": "Is it a public application ?"
},
"default": true
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Select default language",
"fr": "Select default language"
},
"choices": ["English"],
"default": "English"
}

View file

@ -139,7 +139,6 @@ popd || ynh_die
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
ynh_replace_string --match_string="__YNH_NPM__" --replace_string="$ynh_npm" --target_file="../conf/systemd.service"
ynh_add_systemd_config