This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# RClone Config file | |
RCLONE_CONFIG=/path/to/your/rclone.conf | |
export RCLONE_CONFIG | |
LOCKFILE="/var/lock/`basename $0`" | |
LOG_FILE="/path/to/your/logs/rclone-upload.log" | |
# Maximum log file size in bytes (10MB) | |
MAX_LOG_SIZE=$((10 * 1024 * 1024)) |