Module: kamailio
Branch: 4.4
Commit: 910f3c6da1cf0a3b154357a549a5f687cf4ba6ee
URL:
https://github.com/kamailio/kamailio/commit/910f3c6da1cf0a3b154357a549a5f68…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-08-01T10:58:25+02: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/910f3c6da1cf0a3b154357a549a5f68…
Patch:
https://github.com/kamailio/kamailio/commit/910f3c6da1cf0a3b154357a549a5f68…
---
diff --git a/pkg/kamailio/centos/7/kamailio.service
b/pkg/kamailio/centos/7/kamailio.service
index 9de06c43b0..6332a5301d 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 2f4ac95df5..61457e5fd6 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