We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08c086 commit 19f22fdCopy full SHA for 19f22fd
1 file changed
nixos/modules/services/networking/hickory-dns.nix
@@ -178,7 +178,8 @@ in
178
''
179
${lib.getExe cfg.package} --config ${cfg.configFile} ${flagsStr}
180
'';
181
- Type = "simple";
+ Type = "notify";
182
+ WatchdogSec = 30;
183
Restart = "on-failure";
184
RestartSec = "10s";
185
DynamicUser = true;
@@ -204,7 +205,11 @@ in
204
205
ProtectProc = "invisible";
206
ProtectSystem = "full";
207
RemoveIPC = true;
- RestrictAddressFamilies = [ "AF_INET AF_INET6" ];
208
+ RestrictAddressFamilies = [
209
+ "AF_INET"
210
+ "AF_INET6"
211
+ "AF_UNIX"
212
+ ];
213
RestrictNamespaces = true;
214
RestrictSUIDSGID = true;
215
SystemCallArchitectures = "native";
0 commit comments