Giter Club home page Giter Club logo

rtorrent-launcher's Introduction

GitHub release Build Status Code Quality Become a sponsor Donate Paypal

About

Today rtorrent does not have a built-in daemon but it's in development ๐Ÿ‘ท
That's why i have created this simple bash script to launch ๐Ÿš€ rtorrent as a daemon ๐Ÿ˜ˆ
Tested on Debian and Ubuntu.

Requirements

Installation

Perform the following commands to download and install the script :

$ cd /etc/init.d/
$ wget https://raw.github.com/crazy-max/rtorrent-launcher/master/rtorrent-launcher.conf -O /etc/rtorrent-launcher.conf --no-check-certificate
$ wget https://raw.github.com/crazy-max/rtorrent-launcher/master/rtorrent-launcher.sh -O rtorrent --no-check-certificate
$ chmod +x rtorrent
$ update-rc.d -f rtorrent remove
$ update-rc.d rtorrent defaults
$ update-rc.d rtorrent enable

Configuration

Before running the script, you must change some vars in the config file /etc/rtorrent-launcher.conf.
If you change the location of the config file, do not forget to change the path in the script file for the CONFIG_FILE var.

USER

Name of the linux user who starts rtorrent.
Example: USER="rtorrent"

SCREEN_NAME

The screen name, you can put what you want but it must be unique and must contain only alphanumeric character.
Example: SCREEN_NAME="rtorrent"

LOG_DIR

Directory of rtorrent launcher logs.
Example: LOG_DIR="/var/log/rtorrent"

RTORRENT_CONFIG

Path to .rtorrent.rc config file.
Example: RTORRENT_CONFIG="/home/rtorrent/.rtorrent.rc"

Usage

  • start - Start rtorrent in a screen.
  • stop - Stop rtorrent and close the screen loaded.
  • status - display the status of rtorrent.
  • restart - restart rtorrent.
  • info - display several infos about rtorrent.

Example : /etc/init.d/rtorrent start

How can I help ?

All kinds of contributions are welcome ๐Ÿ™Œ! The most basic way to show your support is to star ๐ŸŒŸ the project, or to raise issues ๐Ÿ’ฌ You can also support this project by becoming a sponsor on GitHub ๐Ÿ‘ or by making a Paypal donation to ensure this journey continues indefinitely! ๐Ÿš€

Thanks again for your support, it is much appreciated! ๐Ÿ™

License

LGPL. See LICENSE for more details.

rtorrent-launcher's People

Contributors

crazy-max avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.