summaryrefslogtreecommitdiff
path: root/systemd-units
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-units')
-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