aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-08-11 23:01:48 +0200
committerGitHub <noreply@github.com>2019-08-11 23:01:48 +0200
commitbe789105dad29cea8c5bec5a875695a806bb23b6 (patch)
tree680e9f71d54bcbe8fc3e12341ec5928d8a44e4ec /scripts/remove
parenteae30476db69faeca1fdcf9b62ccc1708032c9bb (diff)
parentb199de81f9241d0c07ccdd35bf0a8794d855bba6 (diff)
downloadmastodon_ynh-be789105dad29cea8c5bec5a875695a806bb23b6.tar.gz
mastodon_ynh-be789105dad29cea8c5bec5a875695a806bb23b6.tar.bz2
mastodon_ynh-be789105dad29cea8c5bec5a875695a806bb23b6.zip
Merge pull request #172 from YunoHost-Apps/swap
managing swap
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/remove b/scripts/remove
index 19cbf29..f482ffe 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
#=================================================
@@ -102,6 +103,9 @@ ynh_remove_nginx_config
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
+# Remove swap
+ynh_del_swap
+
#=================================================
# GENERIC FINALIZATION
#=================================================