diff options
author | makefu <github@syntax-fehler.de> | 2017-11-02 16:28:25 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-11-02 16:28:25 +0100 |
commit | c25ece931d4b9e0f76330563345b9a54965363c7 (patch) | |
tree | 7588cc27080e8ae82bb80db7bd5f56a1a2546d1f /krebs/3modules/rtorrent.nix | |
parent | 4f94853b616dce3410a7b28d37757c659deb50a6 (diff) |
rtorrent module: replace legacy commands
Diffstat (limited to 'krebs/3modules/rtorrent.nix')
-rw-r--r-- | krebs/3modules/rtorrent.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/rtorrent.nix b/krebs/3modules/rtorrent.nix index 472accef9..b7ef824b5 100644 --- a/krebs/3modules/rtorrent.nix +++ b/krebs/3modules/rtorrent.nix @@ -38,12 +38,12 @@ let ${optionalString (cfg.enableXMLRPC ) '' # prepare socket and set permissions. rtorrent user is part of group nginx # TODO: configure a shared torrent group - execute_nothrow = rm,${cfg.xmlrpc-socket} + execute.nothrow = rm,${cfg.xmlrpc-socket} scgi_local = ${cfg.xmlrpc-socket} schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"ug+w,o=\",${cfg.xmlrpc-socket}" ''} - system.file_allocate.set = ${if cfg.preAllocate then "yes" else "no"} + system.file.allocate.set = ${if cfg.preAllocate then "yes" else "no"} # Prepare systemd logging log.open_file = "rtorrent-systemd", ${systemd-logfile} |