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
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.
rap
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.