svn commit: r1934632 - httpd/httpd/trunk/docs/manual
| Newsgroups | gmane.comp.apache.cvs |
|---|---|
| Message-ID | <177978776574.3562397.5799583728389279877@svn03-he-fi> |
Author: rbowen
Date: Tue May 26 09:29:25 2026
New Revision: 1934632
Log:
Correct systemctl syntax
Modified:
httpd/httpd/trunk/docs/manual/install.xml
Modified: httpd/httpd/trunk/docs/manual/install.xml
==============================================================================
--- httpd/httpd/trunk/docs/manual/install.xml Tue May 26 09:21:40 2026 (r1934631)
+++ httpd/httpd/trunk/docs/manual/install.xml Tue May 26 09:29:25 2026 (r1934632)
@@ -57,11 +57,18 @@
<dd>
<highlight>
sudo dnf install httpd
-sudo service httpd start
+
+# Start service
+sudo systemctl start httpd
+
+# Stop service
+sudo systemctl stop httpd
+
+# Restart service
+sudo systemctl restart httpd
</highlight>
- <note type="warning">Older releases of these distros use
- <code>yum</code> rather than <code>dnf</code>. See <a
+ <note type="warning">See <a
href="https://fedoraproject.org/wiki/Apache_HTTP_Server">the
Fedora project's documentation</a> for platform-specific notes.</note>
</dd>
@@ -69,9 +76,16 @@ sudo service httpd start
<dt>Installing on Ubuntu/Debian</dt>
<dd>
<highlight>
-sudo apt update
sudo apt install apache2
-sudo service apache2 start
+
+# Start service
+sudo systemctl start apache2
+
+# Stop service
+sudo systemctl stop apache2
+
+# Restart service
+sudo systemctl restart apache2
</highlight>
<note type="warning">See <a href="https://ubuntu.com/tutorials/install-and-configure-apache">Ubuntu's documentation</a> for platform-specific notes.</note>