Ubuntu Desktop 잠자기 비활성화

어쩔 수 없이 Ubuntu Desktop 버전에서 서비스를 운영하게 되는 경우가 있습니다. 이때 Desktop 버전은 잠자기 모드가 기본으로 활성화되어 있으므로 이를 확인하고 비활성화해 주어야 합니다.

Sleep mode status
sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target
Sleep mode disable
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Sleep mode enable
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

How To Disable Suspend And Hibernation In Linux