diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-02-04 11:32:19 +0100 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-02-04 11:32:19 +0100 |
| commit | 5a9a9661e9fb43a7ef4219a79c6f67e7fa9efd3f (patch) | |
| tree | 86a57fa17ffe021ccd6f9e6856441356a6d15832 /modules/nixos | |
| parent | c3e7a89c073dabfccf490ce0f849c0f8289832c8 (diff) | |
nixos: upgrade: exit 100 -> kill -s SIGUSR1
Diffstat (limited to 'modules/nixos')
| -rw-r--r-- | modules/nixos/personal/nix.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index 35514e1..6f68f60 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -8,7 +8,7 @@ hasFlake = cfg.flake != null; hasFlakeInputs = cfg.autoUpgrade.autoUpdateInputs != []; checkNetwork = { - preStart = "${pkgs.host}/bin/host 9.9.9.9 || exit 100"; # Check network connectivity + preStart = "${pkgs.host}/bin/host 9.9.9.9 || kill -s SIGUSR1 $$"; # Check network connectivity unitConfig = { StartLimitIntervalSec = 300; StartLimitBurst = 5; |
