1.从CentOS 7.x开始,CentOS开始使用systemd服务来代替daemon,
daemon命令 systemctl命令 说明
service [服务] start systemctl start [unit type] 启动服务
service [服务] stop systemctl stop [unit type] 停止服务
service [服务] restart systemctl restart [unit type] 重启服务
2.
1.从CentOS 7.x开始,CentOS开始使用systemd服务来代替daemon,
daemon命令 systemctl命令 说明
service [服务] start systemctl start [unit type] 启动服务
service [服务] stop systemctl stop [unit type] 停止服务
service [服务] restart systemctl restart [unit type] 重启服务
2.
转载于:https://www.cnblogs.com/l-x-x-y-d-j/p/10246341.html