Files
dotfiles/config/ansible/templates/juicefs.service.j2
Menno van Leeuwen bbdc09f0e5
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 16s
Nix Format Check / check-format (push) Successful in 57s
Python Lint Check / check-python (push) Failing after 12s
feat: increase JuiceFS cache size to 128GB in service configuration
2025-03-24 17:51:12 +01:00

13 lines
380 B
Django/Jinja

[Unit]
Description=JuiceFS
After=network.target
Before=docker.service
[Service]
Type=simple
ExecStart=/usr/local/bin/juicefs mount redis://:{{ redis_password }}@localhost:6379/0 /mnt/object_storage --cache-dir=/var/jfsCache --buffer-size=1024 --prefetch=4 --cache-size=131072 --attr-cache=3 --entry-cache=3 --open-cache=3
Restart=on-failure
[Install]
WantedBy=multi-user.target