diff --git a/hosts/storage-2/mixcloud.nix b/hosts/storage-2/mixcloud.nix index be7fa47..0215d82 100644 --- a/hosts/storage-2/mixcloud.nix +++ b/hosts/storage-2/mixcloud.nix @@ -27,12 +27,13 @@ serviceConfig = { User = "data-mixcloud"; Group = "data-mixcloud"; + Restart="on-failure"; }; path = [ pkgs.youtube-dl ]; script = '' mkdir -p /data/mixcloud/couchsofa/ cd /data/mixcloud/couchsofa/ - youtube-dl https://www.mixcloud.com/couchsofa/ + youtube-dl --ignore-errors --playlist-random --newline https://www.mixcloud.com/couchsofa/ ''; startAt = "*-*-* 05:05:00"; };