tldr/pages.zh/osx/apachectl.md

16 lines
222 B
Markdown
Raw Normal View History

2019-02-26 03:06:30 +00:00
# apachectl
2019-10-18 03:33:27 +01:00
> 用于 macOS 的 Apache HTTP Server 控制接口(工具).
2019-02-26 03:06:30 +00:00
2019-10-19 07:12:27 +01:00
- 启动 org.apache.httpd 服务:
2019-02-26 03:06:30 +00:00
`apachectl start`
2019-10-19 07:12:27 +01:00
- 停止已启动的服务:
2019-02-26 03:06:30 +00:00
`apachectl stop`
2019-10-19 07:12:27 +01:00
- 重新启动服务:
2019-02-26 03:06:30 +00:00
`apachectl restart`