Fix systemctl option: removes --unit option in doc
--unit option is for journalctl, not systemctl.
Just executing systemctl without "--unit=" works.
Change-Id: I9752561332e62ec6327b17b12d2d868892718041
diff --git a/doc/source/development.rst b/doc/source/development.rst
index a3f2747..957de9b 100644
--- a/doc/source/development.rst
+++ b/doc/source/development.rst
@@ -14,7 +14,7 @@
.. code-block:: bash
- sudo systemctl status --unit="devstack@*"
+ sudo systemctl status "devstack@*"
To learn more about the basics of systemd, see :doc:`/systemd`
@@ -27,14 +27,14 @@
.. code-block:: bash
- sudo systemctl restart --unit=devstack@n-cpu.service
+ sudo systemctl restart devstack@n-cpu.service
If your change impacts more than one daemon you can restart by
wildcard as well.
.. code-block:: bash
- sudo systemctl restart --unit="devstack@n-*"
+ sudo systemctl restart "devstack@n-*"
.. warning::
@@ -112,6 +112,6 @@
.. code-block:: bash
- sudo systemctl restart --unit="devstack@n-*"
+ sudo systemctl restart "devstack@n-*"
which will restart all nova services.