Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synapse does not automatically start on Droplet reboot #53

Open
benhylau opened this issue Dec 29, 2016 · 5 comments
Open

Synapse does not automatically start on Droplet reboot #53

benhylau opened this issue Dec 29, 2016 · 5 comments

Comments

@benhylau
Copy link
Member

No description provided.

@Famicoman
Copy link
Member

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
Copy link
Member

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

@Shrinks99
Copy link
Member

This has been solved. Solution available here!

@benhylau
Copy link
Member Author

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.

@benhylau benhylau reopened this Dec 10, 2018
@Shrinks99
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants