diff --git a/scripts/change_url b/scripts/change_url deleted file mode 100644 index 8cde5a4..0000000 --- a/scripts/change_url +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -#================================================= -# GENERIC STARTING -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -source _common.sh -source /usr/share/yunohost/helpers - -#================================================= -# STANDARD MODIFICATIONS -#================================================= -# STOP AND REMOVE SERVICE -#================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 - -# Remove the dedicated systemd config -ynh_remove_systemd_config --service="${app}" -ynh_remove_systemd_config --service="${app}_workers" - - -#================================================= -# MODIFY URL IN NGINX CONF -#================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 - -ynh_change_url_nginx_config - -#================================================= -# SPECIFIC MODIFICATIONS -#================================================= -# ... -#================================================= - -#================================================= -# GENERIC FINALISATION - -#================================================= -# START SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Starting the systemd services..." --weight=15 - -# Start a systemd service -ynh_systemd_action --service_name="${app}" --action="start" --log_path="/var/log/$app/$app.log" --line_match="Booting worker with pid" -ynh_systemd_action --service_name="${app}_workers" --action="start" --log_path="/var/log/$app/$app.log" --line_match="Started" - -#================================================= -# END OF SCRIPT -#================================================= - -ynh_script_progression --message="Change of URL completed for $app" --last \ No newline at end of file diff --git a/tests.toml b/tests.toml index 77b8c16..1c7edcf 100644 --- a/tests.toml +++ b/tests.toml @@ -5,7 +5,8 @@ test_format = 1.0 # ------------ # Tests to run # ------------ - + + exclude = ["change_url"] # ------------------------------- # Default args to use for install