Rclone systemd set up

Hi, a bit of a linux noob question

I’m following these instructions to set up webdav via a rclone command (which is really neat and avoids needing to use lighttpd or apache etc).

I’ve successfully tested webdav in step 1.

In step 2 it sets up the webdav using systemd which calls a bash script. Though I’m confused as the instructions refer to locating the bash script in a rclone directory in /usr/bin/rclone/… Though on dietpi, for this location rclone is just a file.

Basically, where is it best to locate the reclone_webdav.sh script for dietpi?


it’s up to you where you locate the script. A good place might be /opt/