您的位置:首页 > 运维架构 > Apache

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

2017-02-25 15:00 435 查看
#设置开机启动
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  apache linux