16 lines
324 B
Markdown
16 lines
324 B
Markdown
# apachectl
|
|
|
|
> Apache HTTP 服务器控制接口,适用于 macOS。
|
|
> 更多信息:<https://keith.github.io/xcode-man-pages/apachectl.8.html>。
|
|
|
|
- 启动 `org.apache.httpd` launchd 任务:
|
|
|
|
`apachectl start`
|
|
|
|
- 停止 launchd 任务:
|
|
|
|
`apachectl stop`
|
|
|
|
- 停止,然后启动 launchd 任务:
|
|
|
|
`apachectl restart` |