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:
parent
d7a7dfcd85
commit
28eb7da9fc
2 changed files with 4 additions and 4 deletions
|
@ -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."
|
||||
}
|
||||
}]
|
||||
}]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue