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

 

文章標籤
全站熱搜
創作者介紹
創作者 stellaforauto 的頭像
stellaforauto

狂暴綿羊完勝企鵝教戰手冊

stellaforauto 發表在 痞客邦 留言(0) 人氣(7)