Add aria2 and webdav configuration template files and update the associated startup scripts to generate configurations from the templates. Modify restic startup scripts to use project configuration templates to simplify configuration management.
- Modify the directory structure in the Dockerfile to change `/home/user/downloads` to `/home/user/download` and update the script paths accordingly.
- Update the file paths in the development and usage documentation to ensure consistency.
- Change the default port of the WebDAV service from 7860 to 8081 to avoid potential port conflicts.
Updated the log directory structure to change all log paths from `/home/user/logs` to `/home/user/log` to simplify file management. Also update related scripts and configuration files to reflect this change.
Update the Dockerfile to simplify the directory structure, remove unnecessary file copying steps, and update the documentation to reflect how configuration files are used. Modified the restic startup script to directly reference configuration file paths within containers to ensure clearer logic for configuration file creation and path replacement.
- Update the Dockerfile to keep port 7860 for compatibility with older versions of HuggingFace Spaces.
- Add WebDAV related configuration items and their default values in USAGE.md.
- Added webdav-install.sh script for installing WebDAV (FlyDAV).
- Added webdav-start.sh script to start WebDAV service and load configuration.
- Updated documentation to reflect usage and configuration details of the WebDAV service.
Add restic auto-recovery feature and backup service conflict checking
- Add a new perform_restic_restore function to docker-entrypoint.sh to perform restic data recovery before service startup.
- Added check_backup_service_conflicts function to check for backup service conflicts to ensure that persistence and restic services cannot be enabled at the same time.
- Update the USAGE.md documentation to add the RESTIC_ENABLED configuration item and emphasize the restriction that persistence and restic services cannot be enabled at the same time.