您当前的位置: 首页 >  ITKEY_ ubuntu

ubuntu systemctl管理

ITKEY_ 发布时间:2022-10-10 23:45:00 ,浏览量:9

启动服务状态

systemctl start nginx.service

查询服务状态

systemctl status nginx.service

开机启动

systemctl enable nginx.service

取消开机启动

systemctl disable nginx.service

验证是否开机启动

systemctl is-enabled nginx

参考

https://www.cnblogs.com/Areas/p/13439000.html

关注
打赏
查看更多评论

ITKEY_

暂无认证

  • 9浏览

    0关注

    634博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录