SOFTMOA TECHNOLOGY

[ centos ] centos 7 service 관리 ( systemctl )

소프트모아가 정리한 기술 기록입니다.

Contents
작성일 2015. 03. 08.
centos7 전까진 service 를 등록해 사용해

상당히 불편했다 

그런데 7부터는 systemctl 로 간편하게 관리가 가능하다

/usr/lib/systemd/system/tomcat.service

에등록

systemctl start service1 시작 
systemctl stop service1 중지 
systemctl restart service1 재시작
systemctl mask service1 서비스 제외
systemctl unmask service1 서비스 등록 
systemctl enable service1 시작시 
systemctl disable service1 시작지 등록 
Share this

OS

Have a questions?

견적 및 기술문의

mobile : 010-7931-4813

Contact Form