리눅스(ubuntu)/명령어 관련
systemctl 명령어 관련
감데공
2017. 8. 1. 17:25
<systemctl>
-서비스의 실행 스크립트 파일은 /lib/systemd/system/ 디렉터리에 '서비스이름.service' 라는 이름으로 확인할 수 있다.
사용법
서비스 시작/중지/재시작 $ systemctl start/stop/restart 서비스이름 서비스 상태 확인 $ systemctl status 서비스이름 서비스 사용/사용안함 설정 $ systemctl enable/disable 서비스이름 |