Redirecting to /bin/systemctl restart sshd.service

简介:

云服务器 ECS Linux CentOS 7 下重启服务不再通过 service 操作,而是通过 systemctl 操作。
QQ_20181221083103

查看:systemctl status sshd.service

启动:systemctl start sshd.service

重启:systemctl restart sshd.service

自启:systemctl enable sshd.service

目录
相关文章
|
Linux
Linux:systemctl、service、chkconfig
Linux:systemctl、service、chkconfig
103 0
|
关系型数据库 MySQL Linux
|
应用服务中间件 nginx
运行sudo service nginx restart,报错* Restarting nginx nginx[fail],启动不了nginx,启动nginx报错
运行sudo service nginx restart,报错* Restarting nginx nginx[fail],启动不了nginx,启动nginx报错
291 0