Merge pull request #285299 from loispostula/patch-1

nixos/rtorrent: rpcsock perm should reflect provided options
This commit is contained in:
Thiago Kenji Okada 2024-07-01 10:55:55 +00:00 committed by GitHub
commit 7fb13d1dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,7 +182,7 @@ in {
# XMLRPC
scgi_local = (cfg.rpcsock)
schedule = scgi_group,0,0,"execute.nothrow=chown,\":rtorrent\",(cfg.rpcsock)"
schedule = scgi_group,0,0,"execute.nothrow=chown,\":${cfg.group}\",(cfg.rpcsock)"
schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",(cfg.rpcsock)"
'';