update rclone mount args & path
This commit is contained in:
parent
66c6078ddd
commit
5b675966a3
|
@ -11,13 +11,12 @@
|
||||||
--allow-other \
|
--allow-other \
|
||||||
--uid=${toString config.users.users.photoprism.uid} \
|
--uid=${toString config.users.users.photoprism.uid} \
|
||||||
--gid=${toString config.users.groups.photoprism.gid} \
|
--gid=${toString config.users.groups.photoprism.gid} \
|
||||||
--fast-list \
|
|
||||||
--umask=666 \
|
--umask=666 \
|
||||||
--cache-dir=/PhotosCache \
|
--cache-dir=/PhotosCache \
|
||||||
--dir-cache-time=1m \
|
--dir-cache-time=10m \
|
||||||
--vfs-cache-mode=full \
|
--vfs-cache-mode=full \
|
||||||
--vfs-cache-max-size=5g \
|
--vfs-cache-max-size=2g \
|
||||||
--vfs-cache-max-age=120m \
|
--vfs-cache-max-age=10m \
|
||||||
--log-level=INFO "$@"
|
--log-level=INFO "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -30,6 +29,7 @@ in {
|
||||||
fuse
|
fuse
|
||||||
fuse3
|
fuse3
|
||||||
mountPhotos
|
mountPhotos
|
||||||
|
util-linux
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
@ -74,6 +74,7 @@ in {
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
fuse
|
fuse
|
||||||
fuse3
|
fuse3
|
||||||
|
util-linux
|
||||||
];
|
];
|
||||||
serviceConfig.ExecStart = "${mountPhotos}/bin/mount-photos --syslog";
|
serviceConfig.ExecStart = "${mountPhotos}/bin/mount-photos --syslog";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue