tomeshnet / documents

Meeting notes and other important planning documents for Toronto Mesh
34 stars 13 forks source link

Synapse does not automatically start on Droplet reboot #53

Open benhylau opened 7 years ago

Famicoman commented 7 years ago

You can try this:

[Unit]
Description=Synapse Matrix homeserver
After=network.target

[Service]
SyslogIdentifier=synapse
ExecStart=/bin/sh -c "cd /root/.synapse/ && /root/.synapse/bin/synctl start"
Restart=on-failure

[Install]
WantedBy=multi-user.target

Dump it into /etc/systemd/system/synapse.service

Then, while synapse is stopped, just:

$ systemctl daemon-reload
$ systemctl enable synapse
$ systemctl start synapse
Famicoman commented 7 years ago

Nevermind, this doesn't work somehow. Log shoes everything started fine with no errors but Riot won't connect.

Shrinks99 commented 5 years ago

This has been solved. Solution available here!

benhylau commented 5 years ago

I think we should not close yet because instructions in this repo doesn't yet point to the terraform deployment. If someone follows what's here this problem still exists. The solution is alos not merged yet.

Shrinks99 commented 5 years ago

Didn't see that it wasn't merged yet. Thought this was just a case of issue that hadn't been closed.