Tag Archives: utorrent

Gentoo: utorrent autostart

wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
tar -zxf utorrent-server-3.0-25053.tar.gz
mv utorrent-server-v3_0/* /home/user/.utorrent/
cat > /etc/init/utorrent.conf
description «utorrent startup script»

start on (local-filesystems and started dbus and stopped udevtrigger)
stop on runlevel [016]

script
cd /home/user/.utorrent
exec su user -c «/home/user/.utorrent/utserver»
end script

ln -s /lib/init/upstart-job /etc/init.d/utorrent

/etc/init.d/utorrent start
update-rc.d utorrent defaults