Advertisement
astalush

Untitled

Nov 7th, 2019
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. # /etc/systemd/system/rclone_vfs_primer.service
  2. #########################################################################
  3. # Title: Cloudbox: Rclone VFS Primer - Service #
  4. # Author(s): EnorMOZ #
  5. # URL: https://github.com/cloudbox/cloudbox #
  6. # -- #
  7. # Part of the Cloudbox project: https://cloudbox.works #
  8. #########################################################################
  9. # GNU General Public License v3.0 #
  10. #########################################################################
  11.  
  12. [Unit]
  13. Description=Rclone VFS Primer - Service
  14. Requires=rclone_vfs.service
  15. After=rclone_vfs.service
  16.  
  17. [Service]
  18. User=root
  19. Group=root
  20. Type=oneshot
  21. ExecStartPre=/bin/sleep 10
  22. ExecStart=/usr/bin/rclone rc vfs/refresh \
  23. --recursive=true \
  24. --timeout=1h \
  25. -vvv \
  26. --rc-addr=localhost:5572
  27.  
  28. [Install]
  29. WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement