1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matterbridge_ynh.git synced 2024-09-03 19:36:24 +02:00
This commit is contained in:
ericgaspar 2021-01-26 12:10:47 +01:00
parent dd09ce8f32
commit 471f45f149
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 9 additions and 8 deletions

View file

@ -8,13 +8,12 @@
domain="domain.tld" (DOMAIN) domain="domain.tld" (DOMAIN)
path="/" (PATH) path="/" (PATH)
is_public=1 (PUBLIC|public=1|private=0) is_public=1 (PUBLIC|public=1|private=0)
port="9980" (PORT)
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=0 setup_sub_dir=0
setup_root=1 setup_root=1
setup_nourl=0 setup_nourl=0
setup_private=0 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
backup_restore=1 backup_restore=1

View file

@ -3,8 +3,8 @@
"id": "matterbridge", "id": "matterbridge",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "matterbridge package for YunoHost.", "en": "Bridge between a series of chat protocols",
"fr": "matterbridge pour YunoHost." "fr": "Pont entre une série de protocoles de discussion"
}, },
"version": "1.21.0~ynh1", "version": "1.21.0~ynh1",
"url": "https://github.com/42wim/matterbridge", "url": "https://github.com/42wim/matterbridge",
@ -38,7 +38,7 @@
"en": "Is it a public site?", "en": "Is it a public site?",
"fr": "Est-ce un site public ?" "fr": "Est-ce un site public ?"
}, },
"default": "true" "default": true
} }
] ]
} }

View file

@ -90,7 +90,7 @@ yunohost service add $app --description="A short description of the app" --log="
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chmod +x $final_path/matterbridge chmod +x $final_path/$app
chown -R $app: $final_path chown -R $app: $final_path
#================================================= #=================================================

View file

@ -56,6 +56,7 @@ ynh_system_user_create --username=$app
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chmod +x $final_path/$app
chown -R $app: $final_path chown -R $app: $final_path
#================================================= #=================================================

View file

@ -118,6 +118,7 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE"
#================================================= #=================================================
# Set permissions on app files # Set permissions on app files
chmod +x $final_path/$app
chown -R $app: $final_path chown -R $app: $final_path
#================================================= #=================================================