mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 22:55:52 +02:00
apachectl: add page (#15844)
This commit is contained in:
parent
f4aa59b62d
commit
857eb0508b
1 changed files with 32 additions and 0 deletions
32
pages/linux/apachectl.md
Normal file
32
pages/linux/apachectl.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# apachectl
|
||||
|
||||
> Control an Apache HTTP server.
|
||||
> More information: <https://manned.org/apachectl>.
|
||||
|
||||
- Start the server:
|
||||
|
||||
`sudo apachectl start`
|
||||
|
||||
- Restart the server:
|
||||
|
||||
`sudo apachectl restart`
|
||||
|
||||
- Stop the server:
|
||||
|
||||
`sudo apachectl stop`
|
||||
|
||||
- Test configuration file validity:
|
||||
|
||||
`apachectl configtest`
|
||||
|
||||
- Check server status (requires the lynx browser):
|
||||
|
||||
`apachectl status`
|
||||
|
||||
- Reload configuration without dropping connections:
|
||||
|
||||
`sudo apachectl graceful`
|
||||
|
||||
- Print full Apache configuration:
|
||||
|
||||
`apachectl -S`
|
Loading…
Add table
Reference in a new issue