阿里云报错Redirecting to /bin/systemctl restart sshd.service

Posted 吴悟无

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了阿里云报错Redirecting to /bin/systemctl restart sshd.service相关的知识,希望对你有一定的参考价值。

转:http://blog.csdn.net/caijunfen/article/details/70599138

 

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

查看:systemctl status sshd.service

启动:systemctl start sshd.service

重启:systemctl restart sshd.service

自启:systemctl enable sshd.service

 

以上是关于阿里云报错Redirecting to /bin/systemctl restart sshd.service的主要内容,如果未能解决你的问题,请参考以下文章

Linux Redirecting to /bin/systemctl restart iptables.service

Linux后台运行jar报错:nohup: ignoring input and redirecting stderr to stdout

Linux后台运行jar报错:nohup: ignoring input and redirecting stderr to stdout

service vsftpd start 提示:Redirecting to /bin/systemctl start vsftpd.service

nginx启动失败:Redirecting to /bin/systemctl start nginx.service Failed to start nginx.service: Unit not

use redir to make port redirecting