diff options
| author | yalh76 <yalh@yahoo.com> | 2021-04-21 20:32:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 20:32:02 +0200 |
| commit | 00d4516409fae2e6e3afec092e491bc8dba5fff4 (patch) | |
| tree | 7b9c1e4e210ce073680ab449d080985600d77cd8 /scripts/remove | |
| parent | 2e9f19e75a4b047702fcab3c2b0325ee03e97045 (diff) | |
| parent | 799587668ba8d57ab579092b76ce2e39c7373257 (diff) | |
| download | mastodon_ynh-00d4516409fae2e6e3afec092e491bc8dba5fff4.tar.gz mastodon_ynh-00d4516409fae2e6e3afec092e491bc8dba5fff4.tar.bz2 mastodon_ynh-00d4516409fae2e6e3afec092e491bc8dba5fff4.zip | |
Merge pull request #264 from YunoHost-Apps/example
Apply example_ynh
Diffstat (limited to 'scripts/remove')
| -rw-r--r-- | scripts/remove | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/remove b/scripts/remove index 8a465a4..42b0109 100644 --- a/scripts/remove +++ b/scripts/remove @@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) +# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status "$app-web" >/dev/null then ynh_script_progression --message="Removing $app-web service integration..." @@ -64,7 +64,7 @@ ynh_remove_systemd_config --service="$app-streaming" ynh_script_progression --message="Removing the PostgreSQL database..." # Remove a database if it exists, along with the associated user -ynh_psql_remove_db --db_user="$db_user" --db_name="$db_name" +ynh_psql_remove_db --db_user=$db_user --db_name=$db_name #================================================= # REMOVE DEPENDENCIES @@ -88,9 +88,9 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Removing nginx web server configuration..." +ynh_script_progression --message="Removing NGINX web server configuration..." -# Remove the dedicated nginx config +# Remove the dedicated NGINX config ynh_remove_nginx_config #================================================= |
