Restart disable-offload in case it fails
This commit is contained in:
parent
278cc1ec1b
commit
4768e9d4e2
@ -36,6 +36,8 @@ in {
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${pkgs.ethtool}/bin/ethtool --offload eth0 tx off";
|
ExecStart = "${pkgs.ethtool}/bin/ethtool --offload eth0 tx off";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "10";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user