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
相关文章
相关标签/搜索