From 2ba907581aa7cd2ab29e74a2d793c564b7f2927f Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 8 Sep 2023 05:23:36 +0000 Subject: [PATCH] Update 'root/etc/init.d/rtorrent' --- root/etc/init.d/rtorrent | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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() {