close
CentOS 6.5 -->7.0
chkconfig-->systemctl
for example
service xxx (start/stop/restart) or /etc/init.d/xxx (start/stop/restart) --> systemctl xxx (start/stop/restart)
run service automatically after booting
chkconfig xxx on ---> systemctl enable xxx
show service status
systemctl status xxx
details can reference here: https://ssorc.tw/6064
全站熱搜