From 09f0d65317f1789b2f74eda1891427efccd90e04 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Wed, 24 Jun 2020 22:09:20 -0400 Subject: [PATCH] nixos/corerad: set systemd unit Type=notify Signed-off-by: Matt Layher --- nixos/modules/services/networking/corerad.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/corerad.nix b/nixos/modules/services/networking/corerad.nix index 5d73c0a0d77..1c414c53a98 100644 --- a/nixos/modules/services/networking/corerad.nix +++ b/nixos/modules/services/networking/corerad.nix @@ -77,6 +77,8 @@ in { AmbientCapabilities = "CAP_NET_ADMIN CAP_NET_RAW"; NoNewPrivileges = true; DynamicUser = true; + Type = "notify"; + NotifyAccess = "main"; ExecStart = "${getBin cfg.package}/bin/corerad -c=${cfg.configFile}"; Restart = "on-failure"; };