]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs/deployment: Fix systemctl commands
authorRussell Currey <ruscur@russell.cc>
Fri, 15 Jul 2016 04:46:28 +0000 (14:46 +1000)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 15 Jul 2016 13:02:17 +0000 (14:02 +0100)
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>
docs/deployment.md

index 73282f96f729aaddcdbc491556efc2b4dc13c47c..1d9ca8ea5b1ca5591b378e0236b50eeb3aa620cd 100644 (file)
@@ -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