box: make tsns restart harder

This commit is contained in:
Aaron Bieber 2024-09-15 08:04:08 -06:00
parent 7492bec3c4
commit cdc7d6f417
No known key found for this signature in database

View File

@ -1067,6 +1067,12 @@ in
systemd = {
services = {
tsns = {
serviceConfig = {
Restart = "always";
RestartSecs = 15;
};
};
nginx.serviceConfig = {
ReadWritePaths = [ "/backups/nginx_cache" ];
ReadOnlyPaths = [ "/etc/nixos/secrets" ];