nixos/snapserver: restart the systemd service on failure
(cherry picked from commit 7031d0fdd0
)
This commit is contained in:
parent
3b9b50532f
commit
97639a5790
@ -297,6 +297,7 @@ in {
|
||||
ProtectKernelTunables = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectKernelModules = true;
|
||||
Restart = "on-failure";
|
||||
RestrictAddressFamilies = "AF_INET AF_INET6 AF_UNIX AF_NETLINK";
|
||||
RestrictNamespaces = true;
|
||||
RuntimeDirectory = name;
|
||||
|
Loading…
Reference in New Issue
Block a user