Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
10th Jun, 2014, 08:38 PM
Post: #7
koper89 Offline
Registered
Posts: 97
Joined: Jan 2014
Reputation: 8
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
And it didn't seems to work in upstart...

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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 06:42 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 07:44 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 08:05 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 08:13 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 08:19 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 08:21 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014 08:38 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 09:12 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 09:34 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 09:44 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 09:48 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 09:55 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 10:01 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 10:26 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 10:34 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 10:40 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 10:45 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 10:59 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 11:28 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - atulsian - 10th Jun, 2014, 11:38 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 11:41 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014, 11:42 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014, 11:56 PM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - menakite - 11th Jun, 2014, 12:20 AM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 11th Jun, 2014, 12:24 AM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 11th Jun, 2014, 07:13 AM
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 11th Jun, 2014, 04:17 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 2nd Jun, 2025, 12:36 PM Powered By MyBB, © 2002-2025 MyBB Group.