-
Notifications
You must be signed in to change notification settings - Fork 42
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
Coturn-Synapse service requires manual restarting after rebooting the server #313
Comments
Exactly same issue here. The bug report you're pointing to is a general coturn one, which seems to indicate it's not yunohost related. Also, this issue is the more active (still open) one: coturn/coturn#558 I tried the same with these files: I also made a new service file with that content after the command "systemctl edit --force --full notify_push.service". As also suggested there I tried the dirty workaround by adding the line "ExecStartPre=/bin/sleep 30" before ExecStart in the [Service] part of /usr/lib/systemd/system/coturn.service All no luck :~/ |
I tried implementing the dirty workaround with the sleep in the .service-file too, which also did not work for me. But I set up a crontab entry, which does the same, and it works:
and in there add the line:
|
Changing I tried a different workaround, that is to add the parameter |
Fixed by #426 |
Describe the bug
After rebooting the server, the
coturn-synapse
service fails to load by default and requires restarting the service manually. Specifically, it attempts to get an IP port before the network is up and therefore fails to boot. As explained in this bug report, this can be solved by replacing a line in thesystemd
service file fromAfter: syslog.target network.target
to
After: syslog.target network-online.target
(notice the added "
-online
")Context
Steps to reproduce
Expected behavior
When rebooting the server, Coturn should not be failing to boot and should wait for the server to have a working network connection to attempt getting an IP.
Logs
From
journalctl -u coturn-synapse
:The text was updated successfully, but these errors were encountered: