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

[7.5.0-rc5] Headless #5303

Closed
Dmole opened this issue Apr 26, 2020 · 6 comments
Closed

[7.5.0-rc5] Headless #5303

Dmole opened this issue Apr 26, 2020 · 6 comments

Comments

@Dmole
Copy link
Contributor

Dmole commented Apr 26, 2020

https://github.com/Tribler/tribler/blob/devel/src/tribler-core/run_tribler_headless.py

Does not appear to be included in the deb.

cd /usr/share/tribler && env CORE_PROCESS=1 CORE_BASE_PATH=$(pwd) CORE_API_PORT=8085 /usr/bin/tribler >/dev/null 2>&1 &

no longer works, falling back to

/usr/bin/tribler >/dev/null 2>&1 &
sleep 10
kill "$(pgrep -f tribler | head -n 1)"

is there a more elegant solution like

/usr/bin/tribler --headless

?
why is there not even a

/usr/bin/tribler --help

?

@devos50
Copy link
Contributor

devos50 commented Apr 27, 2020

Valid points! I remember that I added the --headless flag a long time ago, but that was removed for some reason. We should add it back.

Also, a --help flag is helpful but not a top priority at the moment.

@Dmole
Copy link
Contributor Author

Dmole commented Apr 27, 2020

Apart from bugs preventing people from using the application, the most fragile parts are the payed exit nodes which occasionally disappear leaving the network un-usable. Having a usable CLI is one part to attracting more exit nodes.

@hbiyik
Copy link

hbiyik commented May 24, 2020

related: #5327

@Dmole
Copy link
Contributor Author

Dmole commented May 16, 2021

Would a no GUI option count as a GUI suggesstion?
#6113

@drew2a
Copy link
Contributor

drew2a commented Jun 6, 2024

Now it is possible to run Tribler headless by running it with --core argument

self.add_argument('--core', action="store_true", help="run core process")

@drew2a drew2a closed this as completed Jun 6, 2024
@Dmole
Copy link
Contributor Author

Dmole commented Jun 6, 2024

Why is there

run_tribler.py --core

and

run_tribler_headless.py

?

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

No branches or pull requests

5 participants