[system-administrators-guide] Updating "The NetworkManager Daemon" section to show the use of systemctl commands
stephenw
stephenw at fedoraproject.org
Mon Mar 11 14:15:15 UTC 2013
commit 33b05c79f86260668ad864c5799d2da86a8ff5a7
Author: Stephen Wadeley <swadeley at redhat.com>
Date: Mon Mar 11 15:14:36 2013 +0100
Updating "The NetworkManager Daemon" section to show the use of systemctl commands
en-US/NetworkManager.xml | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/en-US/NetworkManager.xml b/en-US/NetworkManager.xml
index 3a090f7..c583b78 100644
--- a/en-US/NetworkManager.xml
+++ b/en-US/NetworkManager.xml
@@ -40,15 +40,17 @@ IPv4 Settings
<section
id="sec-The_NetworkManager_Daemon">
<title>The NetworkManager Daemon</title>
- <para>The <application>NetworkManager</application> daemon runs with root privileges and is usually configured to start up at boot time. You can determine whether the <application>NetworkManager</application> daemon is running by entering this command as root:</para>
- <screen>~]# <command>service NetworkManager status</command>
-NetworkManager (pid 1527) is running...
-</screen>
- <para>The <command>service</command> command will report <computeroutput>NetworkManager is stopped</computeroutput> if the <application>NetworkManager</application> service is not running. To start it for the current session:</para>
- <screen>~]# <command>service NetworkManager start</command>
+ <para>The <application>NetworkManager</application> daemon runs with root privileges and is usually configured to start up at boot time. You can determine whether the <application>NetworkManager</application> daemon is running by entering this command:</para>
+ <screen>~]$ <command>systemctl status NetworkManager.service</command>
+NetworkManager.service - Network Manager
+ Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
+ Active: active (running) since Fri, 08 Mar 2013 12:50:04 +0100; 3 days ago
</screen>
- <para>Run the <command>chkconfig</command> command to ensure that <application>NetworkManager</application> starts up every time the system boots:</para>
- <screen>~]# <command>chkconfig NetworkManager on</command>
+ <para>The <command>systemctl status</command> command will report <application>NetworkManager</application> as <computeroutput>Active: inactive (dead)</computeroutput> if the <application>NetworkManager</application> service is not running. To start it for the current session run the following command as the root user:</para>
+ <screen>~]# <command>systemctl start NetworkManager.service</command>
+ </screen>
+ <para>Run the <command>systemctl enable</command> command to ensure that <application>NetworkManager</application> starts up every time the system boots:</para>
+ <screen>~]# <command>systemctl enable NetworkManager.service</command>
</screen>
<para>For more information on starting, stopping and managing services and runlevels, refer to <xref
linkend="ch-Services_and_Daemons" />.</para>
More information about the docs-commits
mailing list