From: Rich Bowen Date: Tue, 26 May 2026 09:29:25 +0000 (+0000) Subject: Correct systemctl syntax X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=86b7edb455bf8c14911bf0f359fa439ee6ddf822;p=thirdparty%2Fapache%2Fhttpd.git Correct systemctl syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934632 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/install.xml b/docs/manual/install.xml index c617bf050a..389ac5bfb4 100644 --- a/docs/manual/install.xml +++ b/docs/manual/install.xml @@ -57,11 +57,18 @@
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 - Older releases of these distros use - yum rather than dnf. See See the Fedora project's documentation for platform-specific notes.
@@ -69,9 +76,16 @@ sudo service httpd start
Installing on Ubuntu/Debian
-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 See Ubuntu's documentation for platform-specific notes.