Module: kamailio
Branch: master
Commit: 8409d05a349984e4a6aeb307b52b12181d0eb709
URL:
https://github.com/kamailio/kamailio/commit/8409d05a349984e4a6aeb307b52b121…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-06-02T15:37:08+02:00
Merge pull request #1089 from sergey-safarov/spec_update7
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/8409d05a349984e4a6aeb307b52b121…
Patch:
https://github.com/kamailio/kamailio/commit/8409d05a349984e4a6aeb307b52b121…
---
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