summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Rio Deiros <drio@users.noreply.github.com>2020-05-28 11:02:41 -0400
committerGitHub <noreply@github.com>2020-05-28 16:02:41 +0100
commit47db2c3673290ca1e0dff3bd4fb9f461c97c67c3 (patch)
treee2007aeee4967777cb560435561fa5d529592a10
parentMerge branch 'master' into develop (diff)
downloadsynapse-47db2c3673290ca1e0dff3bd4fb9f461c97c67c3.tar.xz
Add entry to set dependency against psql service (#7591)
Diffstat (limited to '')
-rw-r--r--changelog.d/7591.misc1
-rw-r--r--contrib/systemd/matrix-synapse.service3
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.d/7591.misc b/changelog.d/7591.misc
new file mode 100644
index 0000000000..17785b1f21
--- /dev/null
+++ b/changelog.d/7591.misc
@@ -0,0 +1 @@
+Add comment to systemd example to show postgresql dependency.
diff --git a/contrib/systemd/matrix-synapse.service b/contrib/systemd/matrix-synapse.service
index 813717b032..a754078410 100644
--- a/contrib/systemd/matrix-synapse.service
+++ b/contrib/systemd/matrix-synapse.service
@@ -15,6 +15,9 @@
 
 [Unit]
 Description=Synapse Matrix homeserver
+# If you are using postgresql to persist data, uncomment this line to make sure
+# synapse starts after the postgresql service.
+# After=postgresql.service
 
 [Service]
 Type=notify