From 4768e9d4e2a83f867c5ddbd320614a1c91e21097 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Tue, 5 Jan 2021 18:48:27 +0100 Subject: [PATCH] Restart disable-offload in case it fails --- helios64.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helios64.nix b/helios64.nix index 279d358..ef372ac 100644 --- a/helios64.nix +++ b/helios64.nix @@ -36,6 +36,8 @@ in { serviceConfig = { Type = "oneshot"; ExecStart = "${pkgs.ethtool}/bin/ethtool --offload eth0 tx off"; + Restart = "on-failure"; + RestartSec = "10"; }; }; }