상태 확인
[root@localhost tgroupware]# systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target
○ sleep.target - Sleep
Loaded: loaded (/usr/lib/systemd/system/sleep.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
○ suspend.target - Suspend
Loaded: loaded (/usr/lib/systemd/system/suspend.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
○ hibernate.target - System Hibernation
Loaded: loaded (/usr/lib/systemd/system/hibernate.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
○ hybrid-sleep.target - Hybrid Suspend+Hibernate
Loaded: loaded (/usr/lib/systemd/system/hybrid-sleep.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
[root@localhost tgroupware]#
일시정지 및 절전모드 해제하기
[root@localhost tgroupware]# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.
[root@localhost tgroupware]# systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target
○ sleep.target
Loaded: masked (Reason: Unit sleep.target is masked.)
Active: inactive (dead)
○ suspend.target
Loaded: masked (Reason: Unit suspend.target is masked.)
Active: inactive (dead)
○ hibernate.target
Loaded: masked (Reason: Unit hibernate.target is masked.)
Active: inactive (dead)
○ hybrid-sleep.target
Loaded: masked (Reason: Unit hybrid-sleep.target is masked.)
Active: inactive (dead)
[root@localhost tgroupware]#
[root@localhost tgroupware]# systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
'Programming > version control' 카테고리의 다른 글
.gitkeep (0) | 2024.02.06 |
---|---|
github + tomcat 배포. (1) | 2023.12.30 |
rocky9 tomcat 설치 (0) | 2023.12.26 |
rocky9에 mariadb 11.2 설치 및 실행 (1) | 2023.12.26 |
LG 공유기 NAT or Port powading (0) | 2023.12.25 |