美文网首页
centos 7 服务启动 停止

centos 7 服务启动 停止

作者: 李神奇 | 来源:发表于2014-12-09 10:05 被阅读0次

    Stop service:

    systemctl stop httpd

    Start service:

    systemctl start httpd

    Restart service (stops/starts):

    systemctl restart httpd

    Reload service (reloads config file):

    systemctl reload httpd

    List status of service:

    systemctl status httpd

    chkconfig service on:

    systemctl enable httpd

    chkconfig service off:

    systemctl disable httpd

    chkconfig service (is it set up to start?)

    systemctl is-enabled httpd

    chkconfig –list (shows what is and isn’t enabled)

    systemctl list-unit-files --type=service

    相关文章

      网友评论

          本文标题:centos 7 服务启动 停止

          本文链接:https://www.haomeiwen.com/subject/chcntttx.html