Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

General Questions • Re: [Software] Problem with qbittorrent after autostart

$
0
0
You can wait for start and death of process by e.g.:

Code:

# Wait for startinguntil pgrep "qbittorrent-nox" ; do  sleep 1done# Wait for initialization after start etc.sleep 5# Fire to living processpkill -SIGKILL "qbittorrent-nox"# Wait for sure deathwhile pgrep "qbittorrent-nox" ; do  sleep 1done
But I do not know, where is the problem.
How do you know, that your cron-job does not work?
[Or how is it (qbittorrent-nox) started after reboot?]
It doesn't work, unfortunately.
If use command
pkill -SIGKILL "qbittorrent-nox"
in terminal, it works.
I placed the script in /etc/init.d and made it executable.
qbt-nox is running as a system service (https://userdocs.github.io/qbittorrent- ... /#/systemd)
I don't know what is happening. Isn't there a way to see what is causing this problem?

Statistics: Posted by alxnt — 2024-02-11 11:57



Viewing all articles
Browse latest Browse all 2901

Trending Articles