Difference between revisions of "Disable Ubuntu sleep mode"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
(Created page with "<span data-link_translate_fr_title="Désactiver la mise en veille Ubuntu" data-link_translate_fr_url="Désactiver la mise en veille Ubuntu"></span>:fr:Désactiver la mise e...")
 
Line 1: Line 1:
 +
<span data-link_translate_es_title="Desactivar el modo de suspensión de Ubuntu"  data-link_translate_es_url="Desactivar el modo de suspensión de Ubuntu"></span>[[:es:Desactivar el modo de suspensión de Ubuntu]][[es:Desactivar el modo de suspensión de Ubuntu]]
 
<span data-link_translate_fr_title="Désactiver la mise en veille Ubuntu"  data-link_translate_fr_url="Désactiver la mise en veille Ubuntu"></span>[[:fr:Désactiver la mise en veille Ubuntu]][[fr:Désactiver la mise en veille Ubuntu]]
 
<span data-link_translate_fr_title="Désactiver la mise en veille Ubuntu"  data-link_translate_fr_url="Désactiver la mise en veille Ubuntu"></span>[[:fr:Désactiver la mise en veille Ubuntu]][[fr:Désactiver la mise en veille Ubuntu]]
 
<br />This article has been created by an automatic translation software. You can view the article source [[:fr:Désactiver la mise en veille Ubuntu|here]].<br /><span data-translate="fr"></span><br />
 
<br />This article has been created by an automatic translation software. You can view the article source [[:fr:Désactiver la mise en veille Ubuntu|here]].<br /><span data-translate="fr"></span><br />

Revision as of 11:43, 30 July 2021

es:Desactivar el modo de suspensión de Ubuntu fr:Désactiver la mise en veille Ubuntu
This article has been created by an automatic translation software. You can view the article source here.

How to disable Ubuntu sleep mode? =

To disable standby on your Ubuntu server, you already need to see the status of the standby service.

systemctl status sleep.target

File:Sleep.PNG

Once you have checked this, you should also check the status of other monitoring services.

systemctl status suspend.target
systemctl status hibernate.target
systemctl status hybrid-sleep.target

File:Sleep2.PNG

To suspend the standby service, you can perform the following command:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

File:Sleep3.PNG

Then the service will appear as "masked" which will prevent your server from going to sleep.

systemctl status sleep.target

File:Sleep4.PNG