CentOS7 systemctl 命令

 
 

*啓動、重啓、中止、重載服務

 # systemctl start httpd.service
 # systemctl restart httpd.service
 # systemctl stop httpd.service
 # systemctl reload httpd.service
 # systemctl status httpd.servicebash

*激活/禁止自動啓動

# systemctl enable httpd.service # systemctl disable httpd.service

*殺死服務

# systemctl kill httpd
相關文章
相關標籤/搜索