diff options
| author | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-01 11:39:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-01 11:39:01 +0200 |
| commit | 6afaa642f6608117f5eb53820727a036f9f3ecf1 (patch) | |
| tree | e5086a42017c83eae1b57ed8382f67db06f4d270 /scripts/remove | |
| parent | 0114f2f9b79a03241cffeff6bb18182938dda414 (diff) | |
| parent | edbf9871a19fd30634d86e7ff41d4f33b92521d4 (diff) | |
| download | mastodon_ynh-6afaa642f6608117f5eb53820727a036f9f3ecf1.tar.gz mastodon_ynh-6afaa642f6608117f5eb53820727a036f9f3ecf1.tar.bz2 mastodon_ynh-6afaa642f6608117f5eb53820727a036f9f3ecf1.zip | |
Merge branch 'testing' into ldpreload
Diffstat (limited to 'scripts/remove')
| -rw-r--r-- | scripts/remove | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/scripts/remove b/scripts/remove index 297786f..d2c0cb5 100644 --- a/scripts/remove +++ b/scripts/remove @@ -7,26 +7,18 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEM CONFIGURATIONS #================================================= -# REMOVE SYSTEMD SERVICE -#================================================= ynh_script_progression "Removing system configurations related to $app..." # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) -if ynh_hide_warnings yunohost service status "$app-web" >/dev/null -then - ynh_script_progression "Removing $app-web service integration..." +if ynh_hide_warnings yunohost service status "$app-web" >/dev/null; then yunohost service remove "$app-web" fi -if ynh_hide_warnings yunohost service status "$app-sidekiq" >/dev/null -then - ynh_script_progression "Removing $app-sidekiq service integration..." +if ynh_hide_warnings yunohost service status "$app-sidekiq" >/dev/null; then yunohost service remove "$app-sidekiq" fi -if ynh_hide_warnings yunohost service status "$app-streaming" >/dev/null -then - ynh_script_progression "Removing $app-streaming service integration..." +if ynh_hide_warnings yunohost service status "$app-streaming" >/dev/null; then yunohost service remove "$app-streaming" fi |
