# Pannes régulières

**URL:** <https://forum.yunohost.org/t/pannes-regulieres/4883>\
**Category:** Support\
**Tags:** olinuxino, olinuxino-lime-1, lime1, french\
**Created:** [May 22, 2018, 5:40pm UTC](https://forum.yunohost.org/t/pannes-regulieres/4883 "2018-05-22T17:40:12Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![pitchum](https://forum.yunohost.org/user_avatar/forum.yunohost.org/pitchum/32/1153_2.png) [@pitchum](https://forum.yunohost.org/u/pitchum)\
**Post date:** [May 30, 2018, 7:38am UTC](https://forum.yunohost.org/t/pannes-regulieres/4883/19 "2018-05-30T07:38:16Z")

</div>

Bonne nouvelle ! Grâce à systemd il semble possible d’automatiser la création du swap au boot avec la garantie que le point de montage sous-jacent sera créé d’abord.

cf. [systemd.swap](https://www.freedesktop.org/software/systemd/man/systemd.swap.html)

> Swaps listed in /etc/fstab will be converted into native units dynamically at boot  
> […]  
> **Option _what=_**  
> […] If this refers to a file, a dependency on the respective mount unit is automatically created

Tu peux donc déclarer ton fichier swap dans fstab.  
_je vais éditer ma réponse en conséquence_

---

_[View the full topic](https://forum.yunohost.org/t/pannes-regulieres/4883)._
