Browse code

Fix systemctl option: removes --unit option in doc

--unit option is for journalctl, not systemctl.
Just executing systemctl without "--unit=" works.

Change-Id: I9752561332e62ec6327b17b12d2d868892718041

Ian Y. Choi authored on 2017/05/05 04:13:29
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ with.
14 14
 
15 15
 .. code-block:: bash
16 16
 
17
-   sudo systemctl status --unit="devstack@*"
17
+   sudo systemctl status "devstack@*"
18 18
 
19 19
 To learn more about the basics of systemd, see :doc:`/systemd`
20 20
 
... ...
@@ -27,14 +27,14 @@ and then restart the affected daemons.
27 27
 
28 28
 .. code-block:: bash
29 29
 
30
-   sudo systemctl restart --unit=devstack@n-cpu.service
30
+   sudo systemctl restart devstack@n-cpu.service
31 31
 
32 32
 If your change impacts more than one daemon you can restart by
33 33
 wildcard as well.
34 34
 
35 35
 .. code-block:: bash
36 36
 
37
-   sudo systemctl restart --unit="devstack@n-*"
37
+   sudo systemctl restart "devstack@n-*"
38 38
 
39 39
 .. warning::
40 40
 
... ...
@@ -112,6 +112,6 @@ You can do that with wildcards such as
112 112
 
113 113
 .. code-block:: bash
114 114
 
115
-   sudo systemctl restart --unit="devstack@n-*"
115
+   sudo systemctl restart "devstack@n-*"
116 116
 
117 117
 which will restart all nova services.