arch-pkgs/rutorrent/config.patch

21 lines
1.1 KiB
Diff
Raw Normal View History

2023-01-07 03:37:32 +00:00
--- a/conf/config.php
+++ b/conf/config.php
@@ -28,7 +28,7 @@
$do_diagnostic = true; // Diagnose ruTorrent. Recommended to keep enabled, unless otherwise required.
$al_diagnostic = true; // Diagnose auto-loader. Set to "false" to make composer plugins work.
- $log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
+ $log_file = '/var/log/rutorrent.log'; // path to log file (comment or leave blank to disable logging)
$saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
$overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
@@ -64,7 +64,7 @@
"localhost",
);
- $profilePath = '../../share'; // Path to user profiles
+ $profilePath = '/var/lib/rutorrent'; // Path to user profiles
$profileMask = 0777; // Mask for files and directory creation in user profiles.
// Both Webserver and rtorrent users must have read-write access to it.
// For example, if Webserver and rtorrent users are in the same group then the value may be 0770.