linux下systemctl命令整理(以apache为例)

来源:互联网 发布:python mako 编辑:程序博客网 时间:2024/06/05 02:07
#设置开机启动systemctl enable httpd.service

#禁止开机启动systemctl disable httpd.service

#查看服务状态systemctl status httpd.service 

#开启服务systemctl start httpd.service

#关闭服务systemctl stop httpd.service

#重启服务systemctl restart httpd.service


原文地址: http://man.linuxde.net/systemctl

0 0
原创粉丝点击