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