RHEL7 환경에서 init Service 관리 명령 변경 사항

List processes

chkconfig:

# chkconfig --list

systemd:

# systemctl list-units

Enable a service

chkconfig:

# chkconfig <servicename> on

systemd:

# systemctl enable <servicename>.service

Disable a service

chkconfig:

# chkconfig <servicename> off

systemd:

# systemctl disable <servicename>.service

Start a service

chkconfig:

# service <servicename> start

systemd:

# systemctl start <servicename>.service

Stop a service

chkconfig:

# service <servicename> stop

systemd:

# systemctl stop <servicename>.service

Check the status of a service

chkconfig:

# service <servicename> status

systemd:

# systemctl status <servicename>.service

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

3 Responses

  1. hamster coin gate io 말해보세요:

    This article opened my eyes, I can feel your mood, your thoughts, it seems very wonderful. I hope to see more articles like this. thanks for sharing.

  2. 100 USDT 말해보세요:

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

페이스북/트위트/구글 계정으로 댓글 가능합니다.