--- /dev/null
+[Unit]
+Description=Distributed Replicated Block Device
+After=systemd-modules-load.service network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+# load config
+ExecStart=/sbin/drbdadm adjust all
+# user interruptible version of wait-connect all
+ExecStart=/sbin/drbdadm wait-con-int
+# become primary if configured
+ExecStart=/sbin/drbdadm sh-b-pri all
+# disconnect and detach all resources
+ExecStop=/sbin/drbdadm down all
+
+[Install]
+WantedBy=multi-user.target