1. 程式人生 > >阿裏雲報錯Redirecting to /bin/systemctl restart sshd.service

阿裏雲報錯Redirecting to /bin/systemctl restart sshd.service

line ria clas rest span net ecs ble blog

轉: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