mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Remove legacy check on path on change-url
This commit is contained in:
parent
0d433dc2d7
commit
fc56ab1484
1 changed files with 0 additions and 9 deletions
|
@ -9,15 +9,6 @@ source ./experimental_helper.sh
|
||||||
source ./_common.sh
|
source ./_common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
path=$new_path
|
|
||||||
domain=$new_domain
|
|
||||||
|
|
||||||
# Check if the new path stay /_matrix if not exit
|
|
||||||
if [[ $path != "/_matrix" ]]
|
|
||||||
then
|
|
||||||
ynh_die --message "You can't use an other path than '/_matrix'. You can only change the domain."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We stop the service
|
# We stop the service
|
||||||
ynh_systemd_action --service_name=$app.service.service --action=stop
|
ynh_systemd_action --service_name=$app.service.service --action=stop
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue