-
Notifications
You must be signed in to change notification settings - Fork 158
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
Running Elementum without Kodi #1048
Comments
Found that you can export current config with ./elementum -exportConfig=<path.yaml> Though when I then start elementum with
if crashes with
Apparently it still tries to communicate with Kodi which is not running. Is it possible to prevent this? |
I had to set
to stop it from crashing. I also want to run it as a systemd service, though it doesn't work by default due to the check in https://github.com/elgatito/elementum/blob/master/main.go#L233:
My understanding is that parent PID is 1 if you run a service with systemd, thus elementum immediately exits. I had to use a dirty hack of running
It would be great to see a better solution for running elementum as a service. Another issue is that web requests (e.g.
As far as I understand, this happens if Kodi wasn't started when elementum starts. Starting Kodi later doesn't help. As a result, no torrents are shown in Web UI. |
for disable_bg_progress - elementum tries to make a dialog pop-up (which requires request to kodi) same for and you end up here this is because XBMCLocalHost is nil in your case. but if you would have specified so most likely if you set
the easy fix from your side would be to use
so your elementum service will have systemd as parent. also, another fix could be adding a check that if elgatito/elementum@1dba83b says |
@Dim0N22 So, have |
I was not trying running from systemd, was only testing from console, on a host that does not have Kodi. |
In releases 0.1.88-0.1.92 there was a changelog
I assume it is now possible to run Elementum without Kodi, is this correct? Is there any documentation on how to do this? Specifically on how to save the current Elementum configuration and then run the binary with the config.
I run Kodi with Flatpak and once it's closed, it also stops Elementum. I want to continue seeding torrents even if Kodi has been closed.
The text was updated successfully, but these errors were encountered: