summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-08-06 16:31:43 +0200
committermakefu <github@syntax-fehler.de>2018-08-06 16:31:43 +0200
commitd6054035fcddf9e6be555a898db72d0cba6102d5 (patch)
treee386b03e9e68acf8337e01f53ece4e2591c7ae8b
parent5c7b8b6d0aa9589f9a6d0c353c0859e34a034488 (diff)
k rtorrent: use directory.watch instead of schedule
for inotify goodness
-rw-r--r--krebs/3modules/rtorrent.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/rtorrent.nix b/krebs/3modules/rtorrent.nix
index b7ef824b5..09e552010 100644
--- a/krebs/3modules/rtorrent.nix
+++ b/krebs/3modules/rtorrent.nix
@@ -29,7 +29,7 @@ let
''}
${optionalString (cfg.watchDir != null) ''
- schedule = watch_directory,5,5,load_start=${cfg.watchDir}/*.torrent
+ directory.watch.added = "${cfg.watchDir}", load.start_verbose
''}
directory = ${cfg.downloadDir}