systemctl的start,restart,stop和reload命令时,我们不会从终端获取到任何输出内容,只有status命令可以打印输出。
# systemctl start httpd.service# systemctl restart httpd.service# systemctl stop httpd.service# systemctl reload httpd.service# systemctl status httpd.service# systemctl is-active httpd.service# systemctl enable httpd.service# systemctl disable httpd.service
原文:https://www.cnblogs.com/blog-zx/p/15352629.html