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

Aliendalvik-control.service not started/found after install #10

Open
Simerax opened this issue Dec 13, 2021 · 1 comment
Open

Aliendalvik-control.service not started/found after install #10

Simerax opened this issue Dec 13, 2021 · 1 comment

Comments

@Simerax
Copy link

Simerax commented Dec 13, 2021

SFOS: 4.3.0.12

I installed the most recent version (9.3.1-1) of aliendalvik-control from open repos via storeman.
After installing no option was enabled in the dalvik settings. I noticed that the service aliendalvik-control.service was not running.
The installer did create /lib/systemd/system/aliendalvik-control.service however sfos did not find or start that service.
I tried manually starting it over ssh with systemctl start aliendalvik-control.service (both with and without devel-su) - still service not found.

I then manually created a symlink from /lib/systemd/system/aliendalvik-control.service to /etc/systemd/system/aliendalvik-control.service. After that i was able to start the service.

I honestly don't know much about systemd and where it looks for service files but my guess would be that for some reason it does not find %{_datadir}/dbus-1/services/org.coderus.aliendalvikcontrol.service (found that in the .spec file)

any thoughts?

@CODeRUS
Copy link
Owner

CODeRUS commented Dec 14, 2021

systemd services was moved from /lib to /usr/lib. You can use _unitdir substitution to get corect path for installation: https://github.com/CODeRUS/sailfishos-browser-searchengines/blob/master/rpm/sailfishos-browser-searchengines.spec#L65

feel free to make a PR with fix :)

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