rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
|
10th Jun, 2014, 08:38 PM
Post: #7
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
I wanted to make easy to install rtorrent If I'll delete nginx/php5-fpm and staff it'll be useless for 1 click persons. I know you want to be it as proper as It can but let's remember what is the purpouse for this packages...
and about Quote:- The location of the config file is not configurable. Make a /etc/default/rtorrent file to be able to adapt this.I don't know how properly source this in upstart I tried: Terminal description "rTorrent 0.9.4 autostart script" start on runlevel [2345] stop on runlevel [016] setuid xbian setgid xbian env HOME=/home/xbian env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin env CONFIG_FILE=/media/media/.system/Config/rtorrent/.rtorrent.rc <=== TRIED WITH THIS LINE AND WITHOUT env ENABLED=0 <=== TRIED WITH THIS LINE AND WITHOUT # Automatically restart process if crashed respawn respawn limit 2 10 # Essentially lets upstart know the process will detach itself to the background expect daemon # Rtorrent may take some time to stop kill timeout 60 # Put all crap into logfile console log # Nice level nice 7 script . /etc/default/rtorrent export CONFIG_FILE export ENABLED test "$ENABLED" = '1' || exit 0 # Start the process exec dtach -n /tmp/rtorrent.dtach rtorrent -n -o import=$CONFIG_FILE end script EDIT: And if you're so eager with making it as slim as it can I can make separate packages for rtorrent and rutorrent and in rtorrent will be only things needed to start rtorrent in shell, and if you want web gui you'll have to install xbian-package-rtorrent which will include rtorrent with webserver and configuration |
|||
« Next Oldest | Next Newest »
|