1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 03:55:58 +02:00

apachectl: add page (#15844)

This commit is contained in:
Managor 2025-03-07 08:58:07 +02:00 committed by GitHub
parent f4aa59b62d
commit 857eb0508b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

32
pages/linux/apachectl.md Normal file
View 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`