문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
linux:systemd [2023/05/17 09:52] kwon37xi |
linux:systemd [2025/07/14 16:10] (현재) kwon37xi [systemd] |
||
|---|---|---|---|
| 줄 4: | 줄 4: | ||
| * [[http:// | * [[http:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| * [[linux: | * [[linux: | ||
| 줄 31: | 줄 33: | ||
| ===== environment.d ===== | ===== environment.d ===== | ||
| * 세션 시작시 환경 변수를 설정하기 | * 세션 시작시 환경 변수를 설정하기 | ||
| + | * script 는 안되고, '' | ||
| * [[https:// | * [[https:// | ||
| * ''/ | * ''/ | ||
| 줄 60: | 줄 63: | ||
| * [[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 의 / | ||