1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
[Unit]
Description=DRBD -- please disable. Unless you are NOT using a cluster manager.
Wants=network-online.target sshd.service
After=network-online.target sshd.service drbdproxy.service
Before=pacemaker.service
[Service]
Type=oneshot
RemainAfterExit=yes
# Do not trigger asking for participation in the users count.
# A check for INIT_VERSION already exists, just set it to something.
Environment=INIT_VERSION=systemd
ExecStart=/lib/drbd/drbd start
ExecStop=/lib/drbd/drbd stop
# Re-adjust everything on reload
ExecReload=/lib/drbd/drbd reload
[Install]
WantedBy=multi-user.target
|