문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
linux:systemd [2023/05/18 10:06] kwon37xi [environment.d] |
linux:systemd [2025/01/17 14:01] (현재) kwon37xi [일괄로 종료 Timeout 지정] |
||
---|---|---|---|
줄 61: | 줄 61: | ||
* [[linux: | * [[linux: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== Shutdown 이 너무 느릴 때 ===== | ||
+ | * '' | ||
+ | ==== 분석 ==== | ||
+ | * '' | ||
+ | |||
+ | <code sh> | ||
+ | sudo journalctl -b -1 > log | ||
+ | </ | ||
+ | * 위 '' | ||
+ | |||
+ | ==== 일괄로 종료 Timeout 지정 ==== | ||
+ | * 분석이 힘들거나 할 경우 다음과 같이 일괄 타임아웃을 지정할 수도 있다. | ||
+ | * ''/ | ||
+ | DefaultTimeoutStopSec=10s # 원래 90s 임. | ||
+ | </ | ||
+ | * 재시작 <code sh> | ||
+ | sudo systemctl daemon-reexec | ||
+ | |||
+ | </ | ||
===== systemd 는 어떻게 기존 SysVInit 의 / | ===== systemd 는 어떻게 기존 SysVInit 의 / |