Set umask of transmission
This commit is contained in:
@@ -8,7 +8,6 @@ with lib; let
|
||||
cfg = config.util-nixarr.services.cross-seed;
|
||||
settingsFormat = pkgs.formats.json {};
|
||||
settingsFile = settingsFormat.generate "settings.json" cfg.settings;
|
||||
cross-seedPkg = pkgs.callPackage ../../../pkgs/cross-seed {};
|
||||
configJs = pkgs.writeText "config.js" ''
|
||||
// Loads a json.config
|
||||
"use strict";
|
||||
@@ -115,7 +114,7 @@ in {
|
||||
Type = "simple";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
ExecStart = "${cross-seedPkg}/bin/cross-seed daemon";
|
||||
ExecStart = "${pkgs.cross-seed}/bin/cross-seed daemon";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -371,6 +371,8 @@ in {
|
||||
watch-dir-enabled = true;
|
||||
watch-dir = "${downloadDir}/.watch";
|
||||
|
||||
umask = "002";
|
||||
|
||||
rpc-bind-address =
|
||||
if cfg.vpn.enable
|
||||
then "192.168.15.1"
|
||||
|
||||
Reference in New Issue
Block a user