[Help] Stop qbittorrent from autostart  [SOLVED]

Language, region, time zone, power, navigation, notification and more.
Post Reply
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

[Help] Stop qbittorrent from autostart

Post by CapCaveman »

I am in TOS 6.0. I installed qBitorrent and works fine.
When I am no longer using it, I disable it. But my NAS restart every night, and qBitrorrent restarts. I searched and seems apps will always autostart.

Can I use these commands by SSH to stop it from restarting?

Step 1: Enable SSH
Control Panel → Terminal & SNMP → Enable SSH

Step 2: SSH into the NAS
ssh admin@NAS_IP

Step 3: Find qBittorrent startup service
ps aux | grep qbittorrent

Then list init services:
ls /etc/init.d | grep qb

Common names:
qbittorrent
qbittorrent-nox

Step 4: Disable auto-start
chmod -x /etc/init.d/qbittorrent*
Or rename it (safer):
mv /etc/init.d/qbittorrent /etc/init.d/qbittorrent.disabled

Step 5: Reboot and verify
reboot
User avatar
TMeric
TM Product Manager
Posts: 227
Joined: 03 Jul 2023, 11:01

Re: [Help] Stop qbittorrent from autostart

Post by TMeric »

Hello,

We manage services using systemd. You can try executing the following two commands in order to disable the qbittorrent service:

Stop the service:

systemctl stop qbittorrent.service

Disable it from starting on boot:

systemctl disable qbittorrent.service

If you wish to restore the service, you can use the following command:

systemctl enable --now qbittorrent.service

Please note that operating directly through the command line may lead to unforeseen risks. It’s advisable to proceed with caution to avoid any issues with qbittorrent functioning properly afterwards. Thank you!
To contact our team, please send email to following addresses, remember to replace (at) with @:

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

Re: [Help] Stop qbittorrent from autostart

Post by CapCaveman »

Thank you! will test it. Appreciate the help.
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

Re: [Help] Stop qbittorrent from autostart

Post by CapCaveman »

Update: I tried to run as admin:

systemctl disable qbittorrent.service

but it says it has no runlevel. Should I try another command?

admin@TNAS:~# systemctl disable qbittorrent.service
qbittorrent.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable qbittorrent
update-rc.d: error: qbittorrent Default-Start contains no runlevels, aborting.
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: [Help] Stop qbittorrent from autostart  [SOLVED]

Post by CursaYang »

This error is just the compatibility layer being picky about the script format not being standardized. Functionally, it has usually been disabled successfully.
You can enter the following command to check if the startup auto-launch has been turned off. If the output is 'disabled', it indicates that the shutdown was successful.

Code: Select all

systemctl is-enabled qbittorrent
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

Re: [Help] Stop qbittorrent from autostart

Post by CapCaveman »

Thanks! I confirm it shows disabled.

admin@TNAS:~# systemctl is-enabled qbittorrent
qbittorrent.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled qbittorrent
disabled
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

Re: [Help] Stop qbittorrent from autostart

Post by CapCaveman »

Hi, I restarted and it enabled again. Do I need to run another command?

This is what I ran:
admin@TNAS:~# systemctl stop qbittorrent.service
admin@TNAS:~# systemctl disable qbittorrent.service
qbittorrent.service is not a native service, redirecting to systemd-sysv-install .
Executing: /lib/systemd/systemd-sysv-install disable qbittorrent
update-rc.d: error: qbittorrent Default-Start contains no runlevels, aborting.
admin@TNAS:~# systemctl is-enabled qbittorrent
qbittorrent.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled qbittorrent
disabled
admin@TNAS:~#

Qbittorrent became disabled:

Image


But once restared, it enabled again:

Image
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: [Help] Stop qbittorrent from autostart

Post by CursaYang »

Under normal circumstances, applications that have been disabled should not automatically enable on startup. Do the other applications you installed automatically enable? You can add the command `systemctl disable qbittorrent.service` to a scheduled task to ensure it runs automatically on startup.
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
CapCaveman
Posts: 23
Joined: 12 Jan 2022, 20:56
Panama

Re: [Help] Stop qbittorrent from autostart

Post by CapCaveman »

Thank you CursaYang. I made a scheduled task at startup. I confirm qbitrorrent is now disabled after startup. Really appreciate your reply.
Lets mark as SOLVED.

Image
Post Reply

Return to “System Configuration”