systemctl 중요한것만 정리

created : 2022-07-31T13:20:31+00:00
modified : 2022-07-31T14:07:35+00:00

devops

간략 설명

  • systemd 를 제어하기 위한 명령어

사용하는 것들

systemctl start <servicename>
systemctl status <servicename>
systemctl kill <servicename> [--signal=SIGABRT]
systemctl status <servicename>
systemctl stop <servicename>

systemctl is-active <servicename>
systemctl reload <servicename>
systemctl restart <servicename>
journalctl -u <servicename> [-o json]