- Fix issues with cache dir
Some checks failed
GoReleaser / goreleaser (push) Has been cancelled
Release Docker Build / docker (push) Has been cancelled

- Fix responsiveness issue with navbars
- Support user entry for users running as non-root
- Other minor fixes
This commit is contained in:
Mukhtar Akere
2025-08-12 15:14:42 +01:00
parent a0e9f7f553
commit 742d8fb088
10 changed files with 132 additions and 29 deletions

View File

@@ -105,6 +105,11 @@ func (m *Manager) Start(ctx context.Context) error {
"--config", filepath.Join(m.configDir, "rclone.conf"),
"--log-level", "INFO",
}
if cfg.Rclone.CacheDir != "" {
if err := os.MkdirAll(cfg.Rclone.CacheDir, 0755); err == nil {
args = append(args, "--cache-dir", cfg.Rclone.CacheDir)
}
}
m.cmd = exec.CommandContext(ctx, "rclone", args...)
m.cmd.Dir = m.configDir