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

pkg/kamailio: Fixed systemd unit failure on server boot #1089

Merged
merged 1 commit into from Jun 2, 2017

Conversation

sergey-safarov
Copy link
Member

No description provided.

@amessina
Copy link
Contributor

Same as #1090?

I'm not sure you need After=network.target and network-online.target, but based on https://fedoraproject.org/wiki/Networking/Ideas/ServiceOrdering, you will want Wants=network-online.target

@sergey-safarov
Copy link
Member Author

Please look https://github.com/kamailio/kamailio/pull/1104/files
Think IP_FREEBIND is preferred implementation.

@miconda
Copy link
Member

miconda commented May 15, 2017

IP_FREEBIND is not going to be by default on, it is not present in many operating systems but also can expose to service failure due to unnoticed typos in ip addresses.

@amessina - are you ok merging this? I am not a centos user myself.

@amessina
Copy link
Contributor

@miconda @sergey-safarov, I'm also not a CentOS user, but a Fedora user :) Still, according to https://fedoraproject.org/wiki/Networking/Ideas/ServiceOrdering, you need Wants=network-online.target since it is not enabled by default on RedHat based systems. Other than that, sure. The kamailio.service file I package is https://messinet.com/rpms/browser/kamailio/kamailio.service

@sergey-safarov
Copy link
Member Author

@amessina updated PR

  • added "Wants"
  • added "Documentation"

@amessina
Copy link
Contributor

I think that looks good.

@miconda
Copy link
Member

miconda commented Jun 2, 2017

Merging, thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants