summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMatt Layher <mdlayher@gmail.com>2020-08-09 13:24:10 -0400
committerJon <jonringer@users.noreply.github.com>2020-08-09 16:15:49 -0700
commit15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618 (patch)
treebe5f293d3de962366552d6918940dc391b03534f /nixos/modules
parent93023e8b88a1b8b30ca73b50473922eaf718b8eb (diff)
downloadnixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar.gz
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar.bz2
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar.lz
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar.xz
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.tar.zst
nixpkgs-15e5ad6c7c0c3b5a0a8c3b61de6dca9a7f731618.zip
nixos/corerad: use SIGHUP to restart the service
Signed-off-by: Matt Layher <mdlayher@gmail.com>
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/corerad.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/corerad.nix b/nixos/modules/services/networking/corerad.nix
index 1c414c53a98..d90a5923bc6 100644
--- a/nixos/modules/services/networking/corerad.nix
+++ b/nixos/modules/services/networking/corerad.nix
@@ -81,6 +81,7 @@ in {
         NotifyAccess = "main";
         ExecStart = "${getBin cfg.package}/bin/corerad -c=${cfg.configFile}";
         Restart = "on-failure";
+        RestartKillSignal = "SIGHUP";
       };
     };
   };