File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ tar zxf nginx-1.13.3.tar.gz
112
112
cd nginx-1.11.5
113
113
./configure
114
114
115
-
116
115
....
117
116
Configuration summary
118
117
+ using system PCRE library
@@ -195,17 +194,19 @@ PrivateTmp=true
195
194
WantedBy=multi-user.target
196
195
```
197
196
198
- [ Unit] :服务的说明
199
- Description:描述服务
200
- After:描述服务类别
201
- [ Service] 服务运行参数的设置
202
- Type=forking是后台运行的形式
203
- ExecStart为服务的具体运行命令
204
- ExecReload为重启命令
205
- ExecStop为停止命令
206
- PrivateTmp=True表示给服务分配独立的临时空间
207
- 注意:[ Service] 的启动、重启、停止命令全部要求使用绝对路径
208
- [ Install] 运行级别下服务安装的相关设置,可设置为多用户,即系统运行级别为3
197
+ - ` [Unit] ` :服务的说明
198
+ - ` Description ` :描述服务
199
+ - ` After ` :描述服务类别
200
+ - ` [Service] ` 服务运行参数的设置
201
+ - ` Type=forking ` 是后台运行的形式
202
+ - ` ExecStart ` 为服务的具体运行命令
203
+ - ` ExecReload ` 为重启命令
204
+ - ` ExecStop ` 为停止命令
205
+ - ` PrivateTmp=True ` 表示给服务分配独立的临时空间
206
+
207
+ 注意:` [Service] ` 的启动、重启、停止命令全部要求使用绝对路径。
208
+
209
+ ` [Install] ` 运行级别下服务安装的相关设置,可设置为多用户,即系统运行级别为` 3 ` 。
209
210
210
211
保存退出。
211
212
You can’t perform that action at this time.
0 commit comments