Skip to content

Commit 8756dda

Browse files
committed
Update README.md
1 parent c2668cb commit 8756dda

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ tar zxf nginx-1.13.3.tar.gz
112112
cd nginx-1.11.5
113113
./configure
114114

115-
116115
....
117116
Configuration summary
118117
+ using system PCRE library
@@ -195,17 +194,19 @@ PrivateTmp=true
195194
WantedBy=multi-user.target
196195
```
197196

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`
209210

210211
保存退出。
211212

0 commit comments

Comments
 (0)