service命令使用方法

2020-05-17 19:58:21

service指令作用:用于控制软件的服务启动/停止/重启

语法:service 服务名 start/stop/restart

例如:

启动nginx

service nginx start