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

Russell Currey ruscur at russell.cc
Fri Jul 15 14:46:28 AEST 2016


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 at russell.cc>
---
 docs/deployment.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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
-- 
2.9.0



More information about the Patchwork mailing list