aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2019-08-01 14:14:49 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2019-08-01 14:14:49 +0200
commit87d849ece0a6339a09f6eb85843bb234460e605b (patch)
tree4816618eaa719552a06292ce4729b241ad0b6c15 /vespabase
parentf2aaaf89a0f24790ff2322b7b4f88256940c2917 (diff)
Make sure network is setup when starting Vespa with systemd.
Diffstat (limited to 'vespabase')
-rw-r--r--vespabase/src/vespa-configserver.service.in1
-rw-r--r--vespabase/src/vespa.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/vespabase/src/vespa-configserver.service.in b/vespabase/src/vespa-configserver.service.in
index b5bf28c1d73..7ee170bbdca 100644
--- a/vespabase/src/vespa-configserver.service.in
+++ b/vespabase/src/vespa-configserver.service.in
@@ -1,6 +1,7 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
[Unit]
Description=Vertical Search Platform Config Server
+After=network.target
[Service]
Type=forking
diff --git a/vespabase/src/vespa.service.in b/vespabase/src/vespa.service.in
index dec88ecb7cc..3c32f2c2cab 100644
--- a/vespabase/src/vespa.service.in
+++ b/vespabase/src/vespa.service.in
@@ -1,6 +1,7 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
[Unit]
Description=Vertical Search Platform
+After=network.target
[Service]
Type=forking