diff mbox

[2/2] docs/deployment: Fix systemctl commands

Message ID 20160715044628.11666-2-ruscur@russell.cc
State Accepted
Headers show

Commit Message

Russell Currey July 15, 2016, 4:46 a.m. UTC
systemctl takes the name of the operation before the name of the service
so that you can do multiple things at once, i.e. "systemctl status nginx
postgresql".  Fix the ordering of the arguments.

Signed-off-by: Russell Currey <ruscur@russell.cc>
---
 docs/deployment.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Stephen Finucane July 15, 2016, 12:52 p.m. UTC | #1
On 15 Jul 14:46, Russell Currey wrote:
> systemctl takes the name of the operation before the name of the service
> so that you can do multiple things at once, i.e. "systemctl status nginx
> postgresql".  Fix the ordering of the arguments.
> 
> Signed-off-by: Russell Currey <ruscur@russell.cc>

Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>

...and merged.
diff mbox

Patch

diff --git a/docs/deployment.md b/docs/deployment.md
index e7b6004..9eae750 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -313,13 +313,13 @@  to start uWSGI at boot:
 
 Start the uWSGI service we created above:
 
-    $ sudo systemctl uwsgi start
-    $ sudo systemctl uwsgi status
+    $ sudo systemctl start uwsgi
+    $ sudo systemctl status uwsgi
 
 Next up, restart the nginx service:
 
-    $ sudo systemctl nginx restart
-    $ sudo systemctl nginx status
+    $ sudo systemctl restart nginx
+    $ sudo systemctl status nginx
 
 Patchwork uses a cron script to clean up expired registrations and send
 notifications of patch changes (for projects with this enabled). Something like