aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-08-15 22:36:14 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-08-15 22:36:14 +1000
commitee0791c93fa6cdd932d10ec7f8b7b069c5f47385 (patch)
tree59cfe24680d565c774545aaebfc05c955b73542e
parente6f8beeea432bf086a007839e0c3c2012370bf7b (diff)
downloadmediagoblin-ee0791c93fa6cdd932d10ec7f8b7b069c5f47385.tar.lz
mediagoblin-ee0791c93fa6cdd932d10ec7f8b7b069c5f47385.tar.xz
mediagoblin-ee0791c93fa6cdd932d10ec7f8b7b069c5f47385.zip
Document how to view Systemd logs.
-rw-r--r--docs/source/siteadmin/deploying.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index e7dc78f0..024eb6c9 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -578,6 +578,11 @@ the error by entering either of::
sudo systemctl status mediagoblin-celeryd.service
sudo systemctl status mediagoblin-paster.service
+Or view the full logs with:
+
+ sudo journalctl -u mediagoblin-paster.service -f
+ sudo journalctl -u mediagoblin-celeryd.service -f
+
The above ``systemctl status`` command is also useful if you ever want to
confirm that a process is still running.