summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/radio-news.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/lass/2configs/radio-news.nix b/lass/2configs/radio-news.nix
index 8e48009a8..01a3c8e1a 100644
--- a/lass/2configs/radio-news.nix
+++ b/lass/2configs/radio-news.nix
@@ -32,12 +32,13 @@ in
send_to_radio
weather_report
pkgs.curl
+ pkgs.retry
];
script = ''
set -efu
- newsshow |
- curl -SsG http://tts.r/api/tts --data-urlencode 'text@-' |
- send_to_radio
+ retry -t 5 -d 10 -- newsshow |
+ retry -t 5 -d 10 -- curl -SsG http://tts.r/api/tts --data-urlencode 'text@-' |
+ retry -t 5 -d 10 -- send_to_radio
'';
startAt = "*:00:00";
};