Can't run rtorrent as a service

1. I installed termux-services and rtorrent, then restarted termux. 2. Created a folder mkdir -p $PREFIX/var/service/rtorrent/log 3. Created a "run" script inside $PREFIX/var/service/rtorrent with the following code
#!/data/data/com.termux/files/usr/bin/bash
exec rtorrent
#!/data/data/com.termux/files/usr/bin/bash
exec rtorrent
4. Made the script executable with chmod +x run 5. Added a symbolic link ln -sf $PREFIX/share/termux-services/svlogger $PREFIX/var/service/rtorrent/log/run 6. sv start rtorrent and sv-enable rtorrent don't work. The above workflow works witt other apps like iperf3? How can I solve it and run rtorrent as a service?
1 Reply
Cuteness
Cuteness2d ago
Have you tried to run rtorrent directly to see if it is even able to run without an error?
Want results from more Discord servers?
Add your server