Fix dung
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
rclone_config = pkgs.writeText "" ''
|
rclone_config = pkgs.writeText "" ''
|
||||||
[danflix-storage-box]
|
[danflix-storage-box]
|
||||||
type = sftp
|
type = sftp
|
||||||
|
sftp_md5sum_command = md5sum
|
||||||
|
sftp_sha1sum_command = sha1sum
|
||||||
|
|
||||||
[danflix-crypto]
|
[danflix-crypto]
|
||||||
type = crypt
|
type = crypt
|
||||||
@@ -59,6 +61,8 @@ in {
|
|||||||
--allow-other \
|
--allow-other \
|
||||||
--no-modtime \
|
--no-modtime \
|
||||||
--rc \
|
--rc \
|
||||||
|
--sftp-concurrency 8 \
|
||||||
|
--checkers 4 \
|
||||||
--rc-addr=localhost:5572 \
|
--rc-addr=localhost:5572 \
|
||||||
--rc-no-auth \
|
--rc-no-auth \
|
||||||
-v
|
-v
|
||||||
@@ -69,7 +73,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
postStop = ''
|
postStop = ''
|
||||||
sleep 3
|
sleep 3
|
||||||
fusermount -u ${mountdir}
|
${pkgs.fuse3}/bin/fusermount -u ${mountdir}
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = config.age.secrets.danflix_env_file.path;
|
EnvironmentFile = config.age.secrets.danflix_env_file.path;
|
||||||
|
|||||||
Reference in New Issue
Block a user