Linux-021-Centos Nginx 配置服务管理,并设置开机启动

从 Nginx 的官网获取 nginx 的默认启动配置初始脚本,如下所示,并保存为 /etc/init.d/nginx #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15
posted @ 2021-03-10 23:04  范丰平  Views(96)  Comments(0Edit  收藏  举报