box: make tsns restart harder
This commit is contained in:
parent
7492bec3c4
commit
cdc7d6f417
@ -1067,6 +1067,12 @@ in
|
||||
|
||||
systemd = {
|
||||
services = {
|
||||
tsns = {
|
||||
serviceConfig = {
|
||||
Restart = "always";
|
||||
RestartSecs = 15;
|
||||
};
|
||||
};
|
||||
nginx.serviceConfig = {
|
||||
ReadWritePaths = [ "/backups/nginx_cache" ];
|
||||
ReadOnlyPaths = [ "/etc/nixos/secrets" ];
|
||||
|
Loading…
Reference in New Issue
Block a user