mirror of
https://github.com/thegeneralist01/config.git
synced 2026-12-04 18:56:56 +01:00
fix(thegeneralist): make archivr-server auto-restart on mount disconnects
This commit is contained in:
parent
b8e61fe76a
commit
cca2c45314
1 changed files with 4 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ in
|
|||
requires = [ "archivr-data-ownership.service" ];
|
||||
after = [ "archivr-data-ownership.service" ];
|
||||
unitConfig.RequiresMountsFor = [ "/mnt/usb" ];
|
||||
serviceConfig = {
|
||||
Restart = lib.mkForce "always";
|
||||
RestartSec = lib.mkForce "10s";
|
||||
};
|
||||
};
|
||||
|
||||
# Tailscale TLS certificate automation for HTTPS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue