• [^] # Re: J'y suis presque

    Posté par . En réponse au message Comment réveiller l'ordinateur du mode veille pour vérifier le courrier entrant ?. Évalué à 2. Dernière modification le 21 octobre 2023 à 10:07.

    Je me réponds à moi-même :
    D'après la documentation de systemd, l'option "WakeSystem=true" requiert des privilèges que le simple utilisateur n'a pas.

    WakeSystem=

    Takes a boolean argument. If true, an elapsing timer will cause the system to resume from suspend, should it be suspended and if the system supports this. Note that this option will only make sure the system resumes on the appropriate times, it will not take care of suspending it again after any work that is to be done is finished. Defaults to false.
    Note that this functionality requires privileges and is thus generally only available in the system service manager.

    Note that behaviour of monotonic clock timers (as configured with OnActiveSec=, OnBootSec=, OnStartupSec=, OnUnitActiveSec=, OnUnitInactiveSec=, see above) is altered depending on this option. If false, a monotonic clock is used that is paused during system suspend (CLOCK_MONOTONIC), if true a different monotonic clock is used that continues advancing during system suspend (CLOCK_BOOTTIME), see clock_getres(2) for details.

    Du coup le problème reste entier et je sèche un peu...