[NixOS] Try to fix railbird bucket mount timeout
This commit is contained in:
@@ -89,6 +89,7 @@ in {
|
|||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
Restart = "on-failure"; # Restart the service on failure
|
Restart = "on-failure"; # Restart the service on failure
|
||||||
RestartSec = 5; # Wait 5 seconds before restarti
|
RestartSec = 5; # Wait 5 seconds before restarti
|
||||||
|
TimeoutStopSec = 2;
|
||||||
ExecStartPre = [
|
ExecStartPre = [
|
||||||
"-${pkgs.util-linux}/bin/umount -f ${mount-path}"
|
"-${pkgs.util-linux}/bin/umount -f ${mount-path}"
|
||||||
"${pkgs.coreutils}/bin/mkdir -p ${mount-path}"
|
"${pkgs.coreutils}/bin/mkdir -p ${mount-path}"
|
||||||
|
|||||||
Reference in New Issue
Block a user