drbd: fix path to drbdadm

props: @cody4k for the fix

Fixes #268172
This commit is contained in:
Ashish SHUKLA 2023-12-15 01:35:02 +05:30
parent a9bf124c46
commit 086604334a

View File

@ -55,8 +55,8 @@ let cfg = config.services.drbd; in
wants = [ "systemd-udev.settle.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.drbd}/sbin/drbdadm up all";
ExecStop = "${pkgs.drbd}/sbin/drbdadm down all";
ExecStart = "${pkgs.drbd}/bin/drbdadm up all";
ExecStop = "${pkgs.drbd}/bin/drbdadm down all";
};
};
};