Skip to content
Snippets Groups Projects
Unverified Commit ad28030c authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Systemd docs: configure workers to start after main process. (#8276)

parent d8762cc1
No related branches found
No related tags found
No related merge requests found
Do not attempt to upgrade upgrade database schema on worker processes.
[Unit]
Description=Synapse %i
AssertPathExists=/etc/matrix-synapse/workers/%i.yaml
# This service should be restarted when the synapse target is restarted.
PartOf=matrix-synapse.target
# if this is started at the same time as the main, let the main process start
# first, to initialise the database schema.
After=matrix-synapse.service
[Service]
Type=notify
NotifyAccess=main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment