(Linux) systemctl 명령어

* 서비스 상태 확인하기 
$ systemctl status {servicename}


* 서비스 시작, 중지, 재시작 하기
$ systemctl start {serviceName}
$ systemctl stop {serviceName}
$ systemctl restart {serviceName}


* 부팅 후 서비스 활성화 비활성화
$ systemctl enable {serviceName}
$ systemctl disable {serviceName}


* 서비스 제거/등록
$ systemctl mask {serviceName}
$ systemctl unmask {serviceName}


* 실행 중인 서비스 보기
$ systemctl list-units -type=service
$ systemctl list-unit-files | grep enabled







댓글

이 블로그의 인기 게시물

(네트워크)폴링방식 vs 롱 폴링방식

(ElasticSearch) 결과에서 순서 정렬

(18장) WebSocekt과 STOMP를 사용하여 메시징하기