GithubHelp home page GithubHelp logo

rtorrent-init-script's Introduction

rtorrent-init-script by Super Jamie <[email protected]>

This is an initscript to run rTorrent on CentOS and Fedora

## Installation

* Put it at /etc/init.d/bittorrent and make it executable

    chmod +x /etc/init.d/bittorrent

* Add to chkconfig

    chkconfig --add bittorrent

* Set to start on system startup if desired

    chkconfig bittorrent on

* If you want non-root users to be able to control it, put this in your
  visudo, replace "username" with your non-priveledged username

    username localhost=NOPASSWD:/etc/init.d/bittorrent*

* Setup an alias to the script in the user's ~/.bashrc

    alias bittorrent='/etc/init.d/bittorrent'
    alias bt='bittorrent'

## Requirements

* screen and rtorrent

* A non-priveledged user to run rtorrent, this can either be a new user
  just to run torrents, or an existing user

* Absolute session path in the .rtorrent.rc file

    session = /home/rtorrent/.session  ## this is good
    session = ~/.session               ## this will break
    session = .session                 ## so will this

  Paths for other actions such as monitoring directories for .torrent files
  and auto-moving complete downloads don't have to be absolute.

## Usage

* Control the daemon with
  bittorrent start, bittorent stop, bittorrent restart

* Get information about the daemon with
  bittorrent status, bittorrent info

* Connect to the screen session with
  bittorrent connect
  (press ctrl+a then d to disconnect)

## Licensing

Released under GNU GPL v3 - http://www.gnu.org/licenses/

rtorrent-init-script's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.