[kamailio/kamailio] pkg/kamailio: Fixed systemd unit failure on server boot (#1089)
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1089 -- Commit Summary -- * pkg/kamailio: Fixed systemd unit failure on server boot -- File Changes -- M pkg/kamailio/centos/7/kamailio.service (2) M pkg/kamailio/fedora/17/kamailio.service (2) -- Patch Links -- https://github.com/kamailio/kamailio/pull/1089.patch https://github.com/kamailio/kamailio/pull/1089.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089
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 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-298145463
Please look https://github.com/kamailio/kamailio/pull/1104/files Think IP_FREEBIND is preferred implementation. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-298171566
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. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-301561337
@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 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-302070938
@amessina updated PR - added "Wants" - added "Documentation" -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-302099674
I think that looks good. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-302116284
Merging, thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#issuecomment-305789389
Merged #1089. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1089#event-1107816572
participants (3)
-
Anthony Messina -
Daniel-Constantin Mierla -
sergey-safarov