update
This commit is contained in:
parent
67d8de2f5c
commit
bc739f0880
1 changed files with 8 additions and 2 deletions
10
flake.nix
10
flake.nix
|
@ -341,13 +341,19 @@
|
|||
enable = cfg.enable;
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "anycast-healthchecker";
|
||||
Group = "bird2";
|
||||
DynamicUser = true;
|
||||
User = "bird2";
|
||||
RuntimeDirectory = "anycast-healthchecker";
|
||||
StateDirectory = "anycast-healthchecker";
|
||||
ExecStart = "${package}/bin/anycast-healthchecker --file ${conf} --dir ${conf_d}";
|
||||
Restart = "on-failure";
|
||||
MemoryDenyWriteExecute = true;
|
||||
PrivateDevices = true;
|
||||
PrivateTmp = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectHome = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectSystem = "full";
|
||||
};
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue