summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorMarco Garcês <marco@garces.cc>2014-08-22 12:30:58 +0200
committerMarco Garcês <marco@garces.cc>2014-08-22 12:30:58 +0200
commit1835778282d433dc24c23725f9ebdf50a3b63f48 (patch)
tree5aa65be928543c916145494294a8e2274d893b87 /systemd
parentMerge pull request #2273 from dachary/wip-mailmap (diff)
downloadceph-1835778282d433dc24c23725f9ebdf50a3b63f48.tar.xz
ceph-1835778282d433dc24c23725f9ebdf50a3b63f48.zip
needs network or it will not start if enabled
example error message: "unable to find any IP address in networks: 10.2.27.0/25", so the service wont start
Diffstat (limited to 'systemd')
-rw-r--r--systemd/ceph-osd@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service
index 1811d7e0940..e8cbcdad9af 100644
--- a/systemd/ceph-osd@.service
+++ b/systemd/ceph-osd@.service
@@ -1,5 +1,7 @@
[Unit]
Description=Ceph object storage daemon
+After=network-online.target
+Wants=network-online.target
[Service]
EnvironmentFile=-/etc/sysconfig/ceph