1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Remplace APP_ID by APP_INSTANCE_NAME

This commit is contained in:
Josué Tille 2018-08-27 21:08:26 +02:00
parent d7a7dfcd85
commit 28eb7da9fc
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
[{
"id": "update_turnserver_ip",
"name": "Update turnserver ip",
"command": "/opt/yunohost/matrix-$YNH_APP_ID/Coturn_config_rotate.sh",
"command": "/opt/yunohost/matrix-$YNH_APP_INSTANCE_NAME/Coturn_config_rotate.sh",
"user": "root",
"accepted_return_codes": [0],
"description": {
@ -17,4 +17,4 @@
"description": {
"en": "Open the ports range 49153:49193 with TCP and UDP to be able to use correctly the turnserver."
}
}]
}]

View file

@ -20,7 +20,7 @@ source ./_common.sh
# RETRIEVE ARGUMENTS
#=================================================
app=$YNH_APP_ID
app=$YNH_APP_INSTANCE_NAME
#=================================================
# SHOW_CONFIG FUNCTION FOR 'SHOW' COMMAND
@ -64,4 +64,4 @@ apply_config() {
case $1 in
show) show_config;;
apply) apply_config;;
esac
esac