Bro not this..
You'll have to create your own init script for it.
#!/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
yup read all but you have not posted enough about rutorrentHave you read rutorrent doc and my previous comments ?
can i get ur httpd.confCheck your httpd.conf
sry didnt get you [DOUBLEPOST=1367344145][/DOUBLEPOST]ohk now workingThere is nothing special apart from tag for http directory
[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.
if this is a command it givescreate user rtorrent
if this is a command it gives
-bash: create: command not found
how to create i googled it but didnt find got the specific command for that
[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 ().