From 71395fb63ec80091f262ecab0f99f1efafbe904b Mon Sep 17 00:00:00 2001 From: David Rio Deiros Date: Thu, 28 May 2020 09:02:45 -0400 Subject: [PATCH] adds entry to set dependency against psql service --- changelog.d/7591.misc | 1 + contrib/systemd/matrix-synapse.service | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog.d/7591.misc diff --git a/changelog.d/7591.misc b/changelog.d/7591.misc new file mode 100644 index 000000000000..17785b1f21ba --- /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 813717b032d7..a75407841083 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