persist/private: s6: use systemd to explicitly start the mount, rather than assume it's already been initiated
This commit is contained in:
@@ -134,9 +134,9 @@ lib.mkIf config.sane.persist.enable
|
||||
|
||||
sane.user.services.gocryptfs-private = {
|
||||
description = "wait for /mnt/persist/private to be mounted";
|
||||
# startCommand = "${lib.getExe' pkgs.systemd "systemctl"} start mnt-persist-private.mount";
|
||||
command = "sleep infinity";
|
||||
readiness.waitExists = [ "/mnt/persist/private/init" ];
|
||||
startCommand = "${lib.getExe' pkgs.systemd "systemctl"} start mnt-persist-private.mount";
|
||||
# command = "sleep infinity";
|
||||
# readiness.waitExists = [ "/mnt/persist/private/init" ];
|
||||
partOf = [ "private-storage" ];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user