Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyxshi committed Jul 7, 2024
1 parent eafc809 commit 70b3aee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions modules/services/transmission/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ in
serviceConfig.User = "transmission";
serviceConfig.ExecStart = "${pkgs.transmission}/bin/transmission-daemon --foreground --username $ADMIN --password $PASSWORD";
serviceConfig.WorkingDirectory = "%S/transmission";
preStart = ''
cat ${transmissionScript} > transmission.sh
chmod +x transmission.sh
'';
# preStart = ''
# cat ${transmissionScript} > transmission.sh
# chmod +x transmission.sh
# '';
wantedBy = [ "multi-user.target" ];
};

Expand Down
1 change: 0 additions & 1 deletion modules/services/transmission/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
"rpc-whitelist-enabled": false,
"rpc-authentication-required": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/var/lib/transmission/transmission.sh"
}

0 comments on commit 70b3aee

Please sign in to comment.