move After= to correct section in synapse.service

This commit is contained in:
Dan Callaghan 2021-07-18 17:27:36 +10:00
parent 5dcb251ed2
commit aab90fe6a3

View file

@ -1,5 +1,6 @@
[Unit]
Description=Synapse Matrix homeserver
After=network-online.target postgresql.service
[Service]
Type=notify
@ -11,7 +12,6 @@ ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/
ExecReload=/bin/kill -HUP $MAINPID
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
SyslogIdentifier=synapse
After=network-online.target postgresql.service
[Install]
WantedBy=multi-user.target