diff options
| author | yalh76 <yalh@yahoo.com> | 2021-02-17 19:22:07 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2021-02-17 19:22:07 +0100 |
| commit | aa8928abd9d670920a23e922ab6d188ba530ffb1 (patch) | |
| tree | 6a60945f540789b6739519d704c880a321970ed5 /scripts/remove | |
| parent | 014dcf6239936a43249f3f8dd1fe8c5237f335d7 (diff) | |
| download | mastodon_ynh-aa8928abd9d670920a23e922ab6d188ba530ffb1.tar.gz mastodon_ynh-aa8928abd9d670920a23e922ab6d188ba530ffb1.tar.bz2 mastodon_ynh-aa8928abd9d670920a23e922ab6d188ba530ffb1.zip | |
Apply last 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 9fac8f2..46a78ab 100644 --- a/scripts/remove +++ b/scripts/remove @@ -20,7 +20,7 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) db_name=$(ynh_app_setting_get --app=$app --key=db_name) -db_user=$app +db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= @@ -32,19 +32,19 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # 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..." + ynh_script_progression --message="Removing $app-web service integration..." yunohost service remove "$app-web" fi if ynh_exec_warn_less yunohost service status "$app-sidekiq" >/dev/null then - ynh_script_progression --message="Removing $app-sidekiq service..." + ynh_script_progression --message="Removing $app-sidekiq service integration..." yunohost service remove "$app-sidekiq" fi if ynh_exec_warn_less yunohost service status "$app-streaming" >/dev/null then - ynh_script_progression --message="Removing $app-streaming service..." + ynh_script_progression --message="Removing $app-streaming service integration..." yunohost service remove "$app-streaming" fi |
