Need support with rclone service file

This is my running service file:

[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/iragoiko/.config/rclone/rclone.conf
KillMode=none
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/rclone mount gdrive: /home/iragoiko/gdrive \
--allow-other \
--dir-cache-time 48h \
--log-level DEBUG \
--log-file /home/iragoiko/rclone/rclone.log \
--poll-interval 15s \
--umask 002 \
--cache-dir=/home/iragoiko/rclone/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 5G \
--vfs-cache-max-age 48h \
--rc
ExecStop=/bin/fusermount -uz /home/iragoiko/gdrive
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target

The problem is that /home/iragoiko/rclone/rclone.log log file keeps increasing. In 2-3 days its size is 25 gb, in one week 50gb....

Is that normal? how can I limit this?

Change that to INFO as you don't need to run normally on debug.

Thanks @Animosity022 . I will modigy and post here the result :slight_smile:

since yesterday the log file size is only 1,5 mb. Looks good :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.