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