Changes between Version 9 and Version 10 of TipAndDoc/network/BitTorrent


Ignore:
Timestamp:
Apr 22, 2013 2:17:29 AM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/BitTorrent

    v9 v10  
    9494  * 未完了のファイルに拡張子.!qBをつけることが可能 
    9595  * 転送完了時には、未完了のTorrentの格納先 -> ファイルの保存先 と移動される 
     96 
     97 = utorrent = 
     98 * http://www.utorrent.com/intl/ja/downloads/linux 
     99 * {{{libssl0.9.8}}が必要 
     100 
     101 * webUIはGUI版とほぼ同じ操作性 
     102 
     103 * [http://forum.utorrent.com/viewtopic.php?pid=612724#p612724 Init Script for Debian/Ubuntu & Derivatives (Page 1) / General (Linux) / µTorrent Community Forums] 
     104 > Here's an upstart script for you guys: 
     105{{{ 
     106# It is highly recommended that you run this under a user account and not as root 
     107# The LOGFILE must also be set to a directory writable by the user account 
     108 
     109# Path to the utorrent server 
     110env UTORRENT_PATH=/path/to/utorrent 
     111 
     112# Location of the log file (must be by the current user writable) 
     113env LOGFILE=/path/to/utorrent/utserver.log 
     114 
     115# Path of pid file 
     116env PIDFILE=/path/to/utorrent/utserver.pid 
     117 
     118# Name of the utorrent server binary (you usually don't need to change this) 
     119env EXEC=utserver 
     120 
     121# set account and umask executes utorrent server 
     122setuid utorrent 
     123umask 022 
     124 
     125# Nice value you can comment this out if don't want to run at a lower priority 
     126nice 15 
     127 
     128kill timeout 30 
     129kill signal INT 
     130 
     131start on (local-filesystems and net-device-up IFACE=eth0) 
     132stop on runlevel [016] 
     133 
     134# It is highly recommended that you don't run as the root user you will need 
     135# to change this line to have your own user account for example: 
     136# 
     137# exec su <your user account> -c <utorrent command> 
     138 
     139script 
     140        test -f /etc/default/locale && . /etc/default/locale 
     141        export LANG 
     142        $UTORRENT_PATH/$EXEC -settingspath $UTORRENT_PATH -logfile $LOGFILE \ 
     143                -pidfile $PIDFILE 
     144end script 
     145 
     146post-stop script 
     147        rm -f $PIDFILE 
     148end script 
     149}}} 
     150  * localeの設定がないと、日本語ファイル名の.torrentを読み込めない