aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-08-11 01:39:55 +0200
committeryalh76 <yalh@yahoo.com>2019-08-11 01:39:55 +0200
commit126e04bea66a78e0e40b4f08445e0e1e2e132ccb (patch)
tree3778088eae45d3b6036502752f4352663bbece89
parent1e9663438eb0dd3535ced7086547a0da62bdaad2 (diff)
downloadmastodon_ynh-126e04bea66a78e0e40b4f08445e0e1e2e132ccb.tar.gz
mastodon_ynh-126e04bea66a78e0e40b4f08445e0e1e2e132ccb.tar.bz2
mastodon_ynh-126e04bea66a78e0e40b4f08445e0e1e2e132ccb.zip
Fix add_swap
-rw-r--r--README.md12
-rw-r--r--README_fr.md11
-rw-r--r--scripts/remove3
3 files changed, 0 insertions, 26 deletions
diff --git a/README.md b/README.md
index 6458570..b3d4029 100644
--- a/README.md
+++ b/README.md
@@ -30,18 +30,6 @@ Mastodon is a free, open-source social network. A decentralized alternative to c
### Install
-#### Adding "swapfile" If you have less than 2Go of RAM
-```
-sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024000
-sudo chmod 600 /swapfile
-sudo mkswap /swapfile
-sudo swapon /swapfile
-```
-add this line on /etc/fstab
-```
-/swapfile none swap sw 0 0
-```
-
#### Using __screen__ in case of disconnect
```
$ sudo apt-get install screen
diff --git a/README_fr.md b/README_fr.md
index 803538f..09ceb7b 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -28,17 +28,6 @@ Mastodon est un réseau social gratuit et open source. Une alternative décentra
### Installation
-#### Ajout d'un "swapfile" si vous avez moins de 2Go de RAM
-```
-sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024000
-sudo chmod 600 /swapfile
-sudo mkswap /swapfile
-sudo swapon /swapfile
-```
-ajouter cette ligne dans /etc/fstab
-```
-/swapfile none swap sw 0 0
-```
#### Utilisation de __screen__ en cas de déconnection
```
$ sudo apt-get install screen
diff --git a/scripts/remove b/scripts/remove
index a08afb7..f482ffe 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -102,11 +102,8 @@ 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
#=================================================