Module: kamailio
Branch: master
Commit: 1528c1f2dbffcf64bb8e577ea58e35e1e616443b
URL:
https://github.com/kamailio/kamailio/commit/1528c1f2dbffcf64bb8e577ea58e35e…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2017-05-17T09:59:51-04:00
pkg/kamailio: Fixed systemd unit failure on server boot
---
Modified: pkg/kamailio/centos/7/kamailio.service
Modified: pkg/kamailio/fedora/17/kamailio.service
---
Diff:
https://github.com/kamailio/kamailio/commit/1528c1f2dbffcf64bb8e577ea58e35e…
Patch:
https://github.com/kamailio/kamailio/commit/1528c1f2dbffcf64bb8e577ea58e35e…
---
diff --git a/pkg/kamailio/centos/7/kamailio.service
b/pkg/kamailio/centos/7/kamailio.service
index 40b4b99e13..bde8608137 100644
--- a/pkg/kamailio/centos/7/kamailio.service
+++ b/pkg/kamailio/centos/7/kamailio.service
@@ -1,6 +1,8 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
-After=network.target
+Documentation=man:kamailio(8)
https://www.kamailio.org/
+Wants=network-online.target
+After=network-online.target
[Service]
Type=forking
diff --git a/pkg/kamailio/fedora/17/kamailio.service
b/pkg/kamailio/fedora/17/kamailio.service
index a8d59b0c0c..4b2039b818 100644
--- a/pkg/kamailio/fedora/17/kamailio.service
+++ b/pkg/kamailio/fedora/17/kamailio.service
@@ -1,6 +1,8 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
-After=syslog.target network.target
+Documentation=man:kamailio(8)
https://www.kamailio.org/
+Wants=network-online.target
+After=syslog.target network-online.target
[Service]
Type=forking