mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Update remove
This commit is contained in:
parent
54224caaee
commit
4d0df4a4aa
1 changed files with 6 additions and 0 deletions
|
@ -104,7 +104,13 @@ ynh_secure_remove --file="/etc/cron.d/$app"
|
|||
|
||||
# Remove swap
|
||||
ynh_del_swap
|
||||
if [ -n "$(grep 'kthreadd' /proc/2/status 2>/dev/null)" ]; then
|
||||
|
||||
ynh_del_swap
|
||||
|
||||
else
|
||||
ynh_script_progression --message="No swap will be deleted as you are inside a container. Please take care of having more than 2,5G memory available..."
|
||||
fi
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue