--- drbd-utils-8.9.1.orig/scripts/drbd.service 2014-08-04 18:26:45.000000000 +0300 +++ drbd-utils-8.9.1/scripts/drbd.service 2014-09-07 21:51:45.669953978 +0300 @@ -7,29 +7,27 @@ Type=oneshot RemainAfterExit=yes # Check the configuration file for syntax errors -ExecStartPre=/sbin/drbdadm sh-nop +ExecStartPre=/usr/sbin/drbdadm sh-nop # Create the resources (and log what is being done) -ExecStart=/sbin/drbdadm adjust-with-progress all +ExecStart=/usr/sbin/drbdadm adjust-with-progress all # Wait for connection # This used to be interactive, but that is no longer feasible # with systemd. If this should block, you have to log in and # killall drbdsetup drbdadm ... # Also: configure a proper timeout! -ExecStart=/sbin/drbdadm wait-connect all +ExecStart=/usr/sbin/drbdadm wait-connect all # Switch resources to primary if applicable # Better: disable this service unit, and use a cluster manger (pacemaker) -ExecStart=/sbin/drbdadm sh-b-pri all +ExecStart=/usr/sbin/drbdadm sh-b-pri all # Deactivate all resources on stop -ExecStop=/sbin/drbdadm down all +ExecStop=/usr/sbin/drbdadm down all # Re-adjust everything on reload -ExecReload=/sbin/drbdadm adjust all - +ExecReload=/usr/sbin/drbdadm adjust all [Install] WantedBy=multi-user.target -