Fix systemctl option: removes --unit option in doc

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

Change-Id: I9752561332e62ec6327b17b12d2d868892718041
This commit is contained in:
Ian Y. Choi 2017-05-04 21:13:29 +02:00
parent b2bfe5617a
commit c2200bc880

View File

@ -14,7 +14,7 @@ with.
.. code-block:: bash .. code-block:: bash
sudo systemctl status --unit="devstack@*" sudo systemctl status "devstack@*"
To learn more about the basics of systemd, see :doc:`/systemd` To learn more about the basics of systemd, see :doc:`/systemd`
@ -27,14 +27,14 @@ and then restart the affected daemons.
.. code-block:: bash .. 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 If your change impacts more than one daemon you can restart by
wildcard as well. wildcard as well.
.. code-block:: bash .. code-block:: bash
sudo systemctl restart --unit="devstack@n-*" sudo systemctl restart "devstack@n-*"
.. warning:: .. warning::
@ -112,6 +112,6 @@ You can do that with wildcards such as
.. code-block:: bash .. code-block:: bash
sudo systemctl restart --unit="devstack@n-*" sudo systemctl restart "devstack@n-*"
which will restart all nova services. which will restart all nova services.