首页 > 学院 > 操作系统 > 正文

systemctl

2024-06-28 16:01:38
字体:
来源:转载
供稿:网友
启动一个服务:systemctl start postfix.service关闭一个服务:systemctl stop postfix.service重启一个服务:systemctl restart postfix.service显示一个服务的状态:systemctl status postfix.service在开机时启用一个服务:systemctl enable postfix.service在开机时禁用一个服务:systemctl disable postfix.service查看服务是否开机启动:systemctl is-enabled postfix.service查看已启动的服务列表:systemctl list-unit-files|grep enabled查看启动失败的服务列表:systemctl --failed
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表