Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/systemd/system/rclone_vfs_primer.service
- #########################################################################
- # Title: Cloudbox: Rclone VFS Primer - Service #
- # Author(s): EnorMOZ #
- # URL: https://github.com/cloudbox/cloudbox #
- # -- #
- # Part of the Cloudbox project: https://cloudbox.works #
- #########################################################################
- # GNU General Public License v3.0 #
- #########################################################################
- [Unit]
- Description=Rclone VFS Primer - Service
- Requires=rclone_vfs.service
- After=rclone_vfs.service
- [Service]
- User=root
- Group=root
- Type=oneshot
- ExecStartPre=/bin/sleep 10
- ExecStart=/usr/bin/rclone rc vfs/refresh \
- --recursive=true \
- --timeout=1h \
- -vvv \
- --rc-addr=localhost:5572
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement