Parcourir la source

apachectl: add page (#15844)

Managor il y a 6 jours
Parent
commit
857eb0508b
1 fichiers modifiés avec 32 ajouts et 0 suppressions
  1. 32 0
      pages/linux/apachectl.md

+ 32 - 0
pages/linux/apachectl.md

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