Advertisement
Guest User

log

a guest
Aug 28th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. (1:6)# cat /srv/rutorrent/conf/config.php
  2. <?php
  3. // configuration parameters
  4.  
  5. // for snoopy client
  6. @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
  7. @define('HTTP_TIME_OUT', 30, true); // in seconds
  8. @define('HTTP_USE_GZIP', true, true);
  9. $httpIP = null; // IP string. Or null for any.
  10.  
  11. @define('RPC_TIME_OUT', 5, true); // in seconds
  12.  
  13. @define('LOG_RPC_CALLS', false, true);
  14. @define('LOG_RPC_FAULTS', true, true);
  15.  
  16. // for php
  17. @define('PHP_USE_GZIP', false, true);
  18. @define('PHP_GZIP_LEVEL', 2, true);
  19.  
  20. $do_diagnostic = true;
  21. $log_file = '/tmp/rutorrent_errors.log'; // path to log file (comment or leave blank to disable logging)
  22.  
  23. $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
  24. $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
  25.  
  26. // $topDirectory = '/home'; // Upper available directory. Absolute path with trail slash.
  27. $forbidUserSettings = false;
  28.  
  29. //$scgi_port = 5000;
  30. //$scgi_host = "127.0.0.1";
  31.  
  32. // For web->rtorrent link through unix domain socket
  33. // (scgi_local in rtorrent conf file), change variables
  34. // above to something like this:
  35. //
  36. //$scgi_port = 0;
  37. //$scgi_host = "unix:///tmp/rtorrent.sock";
  38.  
  39. //$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
  40.  
  41. $pathToExternals = array(
  42. "php" => '/usr/bin/php', // Something like /usr/bin/php. If empty, will be found in PATH.
  43. "curl" => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
  44. "gzip" => '/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
  45. "id" => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
  46. "stat" => '/usr/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
  47. "bzip2" => '/bin/bzip2',
  48. );
  49.  
  50. $localhosts = array( // list of local interfaces
  51. "127.0.0.1",
  52. "localhost",
  53. );
  54.  
  55. $profilePath = '../share'; // Path to user profiles
  56. $profileMask = 0777; // Mask for files and directory creation in user profiles.
  57. // Both Webserver and rtorrent users must have read-write access to it.
  58. // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
  59.  
  60. ?>
  61. 27403/31898MB 3.97 4.41 4.55 1/310 2802
  62. [2731:2730 0:7] 04:00:58 Wed Aug 28 [root@Ubuntu-1604-xenial-64-minimal] ~
  63. (1:7)# qb update rutorrent
  64. ruTorrent will now be updated.
  65.  
  66. This process may take a few minutes
  67. Please wait until the process is completed
  68.  
  69. ➜ Updating ruTorrent...
  70. ✓ ruTorrent updated.
  71. 27403/31898MB 3.97 4.41 4.55 1/310 2802
  72. [2731:2730 0:8] 04:02:05 Wed Aug 28 [root@Ubuntu-1604-xenial-64-minimal] ~
  73. (1:8)# cat /srv/rutorrent/conf/config.php
  74. <?php
  75. // configuration parameters
  76.  
  77. // for snoopy client
  78. @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
  79. @define('HTTP_TIME_OUT', 30, true); // in seconds
  80. @define('HTTP_USE_GZIP', true, true);
  81. $httpIP = null; // IP string. Or null for any.
  82. $httpProxy = array
  83. (
  84. 'use' => false,
  85. 'proto' => 'http', // 'http' or 'https'
  86. 'host' => 'PROXY_HOST_HERE',
  87. 'port' => 3128
  88. );
  89.  
  90. @define('RPC_TIME_OUT', 5, true); // in seconds
  91.  
  92. @define('LOG_RPC_CALLS', false, true);
  93. @define('LOG_RPC_FAULTS', true, true);
  94.  
  95. // for php
  96. @define('PHP_USE_GZIP', false, true);
  97. @define('PHP_GZIP_LEVEL', 2, true);
  98.  
  99. $schedule_rand = 10; // rand for schedulers start, +0..X seconds
  100.  
  101. $do_diagnostic = true;
  102. $log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
  103.  
  104. $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
  105. $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
  106.  
  107. $topDirectory = '/'; // Upper available directory. Absolute path with trail slash.
  108. $forbidUserSettings = false;
  109.  
  110. $scgi_port = 5000;
  111. $scgi_host = "127.0.0.1";
  112.  
  113. // For web->rtorrent link through unix domain socket
  114. // (scgi_local in rtorrent conf file), change variables
  115. // above to something like this:
  116. //
  117. // $scgi_port = 0;
  118. // $scgi_host = "unix:///tmp/rpc.socket";
  119.  
  120. $XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
  121.  
  122. $pathToExternals = array(
  123. "php" => '', // Something like /usr/bin/php. If empty, will be found in PATH.
  124. "curl" => '', // Something like /usr/bin/curl. If empty, will be found in PATH.
  125. "gzip" => '', // Something like /usr/bin/gzip. If empty, will be found in PATH.
  126. "id" => '', // Something like /usr/bin/id. If empty, will be found in PATH.
  127. "stat" => '', // Something like /usr/bin/stat. If empty, will be found in PATH.
  128. );
  129.  
  130. $localhosts = array( // list of local interfaces
  131. "127.0.0.1",
  132. "localhost",
  133. );
  134.  
  135. $profilePath = '../share'; // Path to user profiles
  136. $profileMask = 0777; // Mask for files and directory creation in user profiles.
  137. // Both Webserver and rtorrent users must have read-write access to it.
  138. // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
  139.  
  140. $tempDirectory = null; // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.
  141.  
  142. $canUseXSendFile = false; // If true then use X-Sendfile feature if it exist
  143.  
  144. $locale = "UTF8";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement