Service Management--systemctl Command

Source: Internet
Author: User

Start a service: Systemctl start Postfix.service
Close a service: Systemctl stop Postfix.service
Restart A service: systemctl restart Postfix.service
Displays the status of a service: Systemctl status Postfix.service
enable a service at boot: systemctl enable Postfix.service
Disable a service at boot: systemctl disable Postfix.service
Check if the service is booting: Systemctl is-enabled postfix.service
to view a list of services that have been started: Systemctl List-unit-files|grep enabled

systemctl Status httpd.service 

The enabled loaded in the line indicates that the service is started automatically, disable indicates that the service is not started automatically


This article is from the "Dream to Reality" blog, please be sure to keep this source http://lookingdream.blog.51cto.com/5177800/1834620

Service Management--systemctl Command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.