[archive] Attempts to fix the archive mount being stopped before the system sleeps.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
${pkgs.sshfs}/bin/sshfs \
|
${pkgs.sshfs}/bin/sshfs \
|
||||||
-f \
|
-f \
|
||||||
-o reconnect \
|
-o reconnect \
|
||||||
|
-o compression=yes
|
||||||
-o ServerAliveInterval=15 \
|
-o ServerAliveInterval=15 \
|
||||||
-o ServerAliveCountMax=3 \
|
-o ServerAliveCountMax=3 \
|
||||||
-o IdentityFile=%h/.ssh/id_ed25519 \
|
-o IdentityFile=%h/.ssh/id_ed25519 \
|
||||||
@@ -15,7 +16,7 @@
|
|||||||
drew@mcp:/tank/archive/drew \
|
drew@mcp:/tank/archive/drew \
|
||||||
%h/archive
|
%h/archive
|
||||||
'';
|
'';
|
||||||
unmountArchive = "/run/wrappers/bin/fusermount -u %h/mnt/archive";
|
unmountArchive = "/run/wrappers/bin/fusermount -u %h/archive";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Mounts the archive when the system is online.
|
# Mounts the archive when the system is online.
|
||||||
|
|||||||
Reference in New Issue
Block a user