diff --git a/root/etc/init.d/rtorrent b/root/etc/init.d/rtorrent index 4f791ee..95d0756 100755 --- a/root/etc/init.d/rtorrent +++ b/root/etc/init.d/rtorrent @@ -3,12 +3,12 @@ START=99 STOP=99 -start() { - screen -dmS rtorrent nice -19 rtorrent -n -o import=/etc/rtorrent.conf -} +SCREEN=/usr/sbin/screen +PROG=/usr/bin/rtorrent -boot() { - start +start() { + sleep 3 + $SCREEN -dm -t rtorrent nice -19 $PROG } stop() {