Simplify rclone configuration script
This commit is contained in:
parent
3005df5307
commit
3f31b85f6d
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo cp "${BASH_SOURCE%/*}/rclone.service" "${BASH_SOURCE%/*}/rclone.target" "${BASH_SOURCE%/*}/rclone@.service" /etc/systemd/user;
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
|
sudo cp "rclone.service" "rclone.target" "rclone@.service" /etc/systemd/user;
|
||||||
systemctl enable --user rclone;
|
systemctl enable --user rclone;
|
||||||
mkdir -p ~/.mnt;
|
mkdir -p ~/.mnt;
|
||||||
touch ~/.mnt/.trackerignore;
|
touch ~/.mnt/.trackerignore;
|
||||||
|
|
||||||
|
popd > /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue