aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-08-11 00:20:48 +0200
committeryalh76 <yalh@yahoo.com>2019-08-11 00:20:48 +0200
commit1e9663438eb0dd3535ced7086547a0da62bdaad2 (patch)
tree30f662eb2ad4c2fd15554c96c5c241b5d8f547d8 /scripts/remove
parent5c325134b146e75b388f83df5730b988d096fdc4 (diff)
downloadmastodon_ynh-1e9663438eb0dd3535ced7086547a0da62bdaad2.tar.gz
mastodon_ynh-1e9663438eb0dd3535ced7086547a0da62bdaad2.tar.bz2
mastodon_ynh-1e9663438eb0dd3535ced7086547a0da62bdaad2.zip
managing swap
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/remove b/scripts/remove
index 19cbf29..a08afb7 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -9,6 +9,7 @@
source _common.sh
source ynh_install_ruby
source ynh_add_extra_apt_repos__3
+source ynh_add_swap
source /usr/share/yunohost/helpers
#=================================================
@@ -101,6 +102,12 @@ ynh_remove_nginx_config
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
+# Remove swap
+
+ynh_del_swap
+# Remove swap
+
+ynh_del_swap
#=================================================
# GENERIC FINALIZATION