Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyrocore's interactive search is not working when rtorrent started from cron on reboot #1295

Open
trancephorm opened this issue Sep 28, 2024 · 2 comments

Comments

@trancephorm
Copy link

trancephorm commented Sep 28, 2024

I know it's a very long shot, but pyrocore's feature for interactive search in rtorrent cli interface obtained with ctrl-x, "s=<search term", works normally when rtorrent is started after login, in "screen" terminal multiplexer, while if started by cron like this: @reboot sleep 20 && screen -d -m -S myscreen rtorrent, it does not react to s= command at all.

Cron job is launched under the normal user, the same one which is used for login and then manual start of rtorrent.

I guess it's something about environment at the time of startup, but I don't really have a clue what it can be, because the environment should be the same. Someone has an idea?

@kannibalox
Copy link
Contributor

Do regular rtcontrol commands work in this state? As long as the SCGI socket/port is available and responding properly, it's unlikely to be a rtorrent bug.

@trancephorm
Copy link
Author

trancephorm commented Oct 4, 2024

I solved it: in .rtorrent.rc, I added a full path rtcontrol call, although it's not quite clear to me why it's not already in the path, but it seems like it's not in the time of booting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants