Update 'rclone.sh'
This commit is contained in:
@@ -9,7 +9,7 @@ RCLONE_COMMAND="${RCLONE_BIN} --config ${RCLONE_CONFIG} --log-level DEBUG --log-
|
|||||||
PIDFILE="${RCLONE_DIR}/rclone.sh.pid"
|
PIDFILE="${RCLONE_DIR}/rclone.sh.pid"
|
||||||
|
|
||||||
# removes pid file and exit cleany
|
# removes pid file and exit cleany
|
||||||
clean-up {
|
clean-up() {
|
||||||
# Gzip Log files
|
# Gzip Log files
|
||||||
find ${RCLONE_LOGS} -type f ! -name '*.gz' -exec pigz "{}" \;
|
find ${RCLONE_LOGS} -type f ! -name '*.gz' -exec pigz "{}" \;
|
||||||
# remove the pid file
|
# remove the pid file
|
||||||
|
|||||||
Reference in New Issue
Block a user