summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 00:37:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 00:37:54 +0000
commit617aa625201cb223c22f174f9aa5e1cd981feef7 (patch)
tree41e8afd0eb57def295d99f9525a3f6e4a4fe2a71
parentRename script (diff)
downloadutil-drbd-service-1.1.tar.bz2
util-drbd-service-1.1.tar.xz
util-drbd-service-1.1.zip
-rw-r--r--systemd-units/drbd.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd-units/drbd.service b/systemd-units/drbd.service
index 4ad4fd1..e92980b 100644
--- a/systemd-units/drbd.service
+++ b/systemd-units/drbd.service
@@ -1,13 +1,14 @@
[Unit]
Description=Distributed Replicated Block Device
After=systemd-modules-load.service network-online.target
+Wants=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/drbdadm adjust all
-ExecStart=/sbin/drbdadm wait-con-int
+ExecStart=/sbin/drbdadm wait-con-int all
ExecStart=/sbin/drbdadm sh-b-pri all
ExecStop=/sbin/drbdadm down all