存在的记忆 - Ubuntu下-Nginx安装并设置开机自启 的评论
type: channel
link: https://looaon.com/index.php/Nginx/1101.html
description: 开机自启在/etc/init.d/目录下创建名为nginx的文件：sudo touch /etc/init.d/nginx编辑如下内容：#!/bin/bashset -ePATH=/usr/lo...