PogoPlug Pro - Discussion Thread

Save it under /etc/rc.d/ as rtorrent and make sure you have screen installed.

Code:
#!/bin/bash
 
. /etc/rc.conf
. /etc/rc.d/functions
export PATH=$PATH:/usr/bin:/usr/local/bin
case "$1" in
  start)
    stat_busy "Starting rtorrent"
    su - root -c 'screen -d -m -S rtorrent rtorrent' &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon rtorrent
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping rtorrent"
    killall -w -s 2 /usr/bin/rtorrent &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon rtorrent
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
esac
exit 0
 
Save it under /etc/rc.d/ as rtorrent and make sure you have screen installed.

Code:
#!/bin/bash
 
. /etc/rc.conf
. /etc/rc.d/functions
export PATH=$PATH:/usr/bin:/usr/local/bin
case "$1" in
  start)
    stat_busy "Starting rtorrent"
    su - root -c 'screen -d -m -S rtorrent rtorrent' &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon rtorrent
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping rtorrent"
    killall -w -s 2 /usr/bin/rtorrent &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon rtorrent
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
esac
exit 0

okay it says done i am able to use rtorrent in console but not the rutorrent gui.
do we have to seperately run rutorrent??
if yes than how??:confused:
 
Have you read rutorrent doc and my previous comments ?
yup read all but you have not posted enough about rutorrent
ohk now i have done some google and made some changes
now when i start rutorrent getting this error
2qdq5mo.png
 
There is nothing special apart from tag for http directory
sry didnt get you :arghh:[DOUBLEPOST=1367344145][/DOUBLEPOST]ohk now working:)
thanks for help buddy :woot:

btw my log says this
Code:
[30.04.2013 23:17:05] WebUI started.
[30.04.2013 23:17:12] rTorrent user can't access 'id' program. Some functionality will be unavailable.
[30.04.2013 23:17:12] Webserver user can't access 'stat' program. Some functionality will be unavailable.
[30.04.2013 23:17:12] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[30.04.2013 23:17:12] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory ().
[30.04.2013 23:17:12] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[30.04.2013 23:17:14] Unpack plugin: rTorrent user can't access 'unrar' program.
 
created a user but still getting errors :(
can anyone help me :(
now getting these errors
Code:
[02.05.2013 21:32:29] WebUI started.
[02.05.2013 21:32:33] rTorrent user can't access 'id' program. Some functionality will be unavailable.
[02.05.2013 21:32:33] Webserver user can't access 'stat' program. Some functionality will be unavailable.
[02.05.2013 21:32:33] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[02.05.2013 21:32:33] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory ().

somewhere i read this happens when tmp directory is read only
and have to do
PrivateTmp=false
but not able to locate this line
 
Back
Top