도구
systemd 빠른 참조
systemd 빠른 참조용 인쇄 가능한 치트시트로, 빠른 조회와 학습, 책상 옆 참고용으로 정리되었습니다
미리보기
이 치트시트에 포함된 내용
- 서비스 관리
- 유닛 파일
- 타이머
- 타겟
- Journalctl
- 네트워킹
- 마운트
- 환경 변수
- 의존성
- 자주 쓰는 패턴
기본 서비스 명령어
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl reload nginx # reload config
systemctl status nginx
활성화 / 비활성화
systemctl enable nginx # start at boot
systemctl disable nginx # remove from boot
systemctl enable --now nginx # enable + start
systemctl is-enabled nginx
서비스 상태
active (running) | 서비스가 정상 실행 중 |
active (exited) | 한 번 실행 후 정상 종료 |
inactive (dead) | 서비스가 중지됨 |
failed | 서비스가 충돌하거나 오류 종료 |
activating | 서비스가 시작 중 |
모든 섹션이 포함된 인쇄용 치트시트 다운로드
PDF 다운로드다운로드