rclone bodges due to changed nextcloud remote vendor changes

see also: https://github.com/rclone/rclone/issues/7160
This commit is contained in:
Chaos 2023-07-21 12:16:25 +00:00
parent 43cefeb3ef
commit d310972844
No known key found for this signature in database
4 changed files with 4 additions and 37 deletions

View file

@ -10,39 +10,6 @@
in {
environment.systemPackages = with pkgs; [mpc_cli];
systemd.tmpfiles.rules = [
"d /Music - root root"
];
systemd.services.music-sync = {
wantedBy = ["multi-user.target"];
after = ["network.target"];
partOf = ["mpd.service"];
path = with pkgs; [bash rclone mount umount];
script = let
rclone_config = pkgs.writeText "rclone.conf" ''
[Music]
type = webdav
url = https://storage-webdav.owo.monster/music_ro/
vendor = nextcloud
'';
in ''
set -e
rclone --config ${rclone_config} sync Music: /Music
'';
};
systemd.timers.music-sync = {
wantedBy = ["timers.target"];
partOf = ["music-sync.service"];
timerConfig.OnCalendar = "hourly";
};
systemd.services.mpd = {
after = ["music-copy.service"];
};
services.mpd = {
enable = true;
network.listenAddress = "0.0.0.0";

View file

@ -14,7 +14,7 @@
[Music]
type = webdav
url = https://storage-webdav.owo.monster/MusicRO/
vendor = nextcloud
vendor = other
'';
in ''
set -e

View file

@ -1,6 +1,6 @@
[StorageBox-Remote]
type = webdav
vendor = nextcloud
vendor = other
host = u323231.your-storagebox.de
url = https://u323231.your-storagebox.de
user = u323231
@ -69,7 +69,7 @@ remote = B2-Phoenix-Cryptidz-Storage-Source:Phoenix-Cryptidz-Storage
[PutIO-WebDAV]
type = webdav
url = https://webdav.put.io
vendor = nextcloud
vendor = other
user = chaoticryptidz
pass = PUTIO_PASSWORD

View file

@ -1,7 +1,7 @@
[Misskey-Storage]
type = webdav
url = https://storage-webdav.owo.monster/Misskey/
vendor = nextcloud
vendor = other
user = misskey
pass = MISSKEY_STORAGE_PASSWORD