PortValhalla/scripts/Common/Config/rclone/InstallSync.sh
2024-03-09 21:35:06 +01:00

8 lines
205 B
Bash
Executable file

#!/bin/bash
provider="$1";
dirname="$2";
serviceName="rclone@$provider:$dirname";
echo "Please create a remote called \`$1\`";
rclone config || true;
systemctl --user enable "$serviceName" --now || true;