1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Fix add_swap

This commit is contained in:
yalh76 2019-08-11 01:39:55 +02:00
parent 1e9663438e
commit 126e04bea6
3 changed files with 0 additions and 26 deletions

View file

@ -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

View file

@ -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

View file

@ -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
#=================================================