Files
dotfiles/config/ansible/templates/juicefs.service.j2
Menno van Leeuwen a6b4a17f87
Some checks failed
Nix Format Check / check-format (push) Waiting to run
Ansible Lint Check / check-ansible (push) Failing after 38s
Python Lint Check / check-python (push) Failing after 58s
feat: update JuiceFS service configuration to reduce cache size to 64GB
2025-03-24 17:11:15 +01:00

13 lines
379 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=65536 --attr-cache=3 --entry-cache=3 --open-cache=3
Restart=on-failure
[Install]
WantedBy=multi-user.target