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

Add meson build option for disabling installing systemd service #96

Open
hendursaga opened this issue Nov 21, 2021 · 2 comments
Open

Add meson build option for disabling installing systemd service #96

hendursaga opened this issue Nov 21, 2021 · 2 comments

Comments

@hendursaga
Copy link

As title says. The relevant line is https://github.com/alexr4535/siglo/blob/main/data/meson.build#L21 - I've never used meson/ninja before, though. My reason is because I have no need for the service and also meson was asking polkit for elevated permissions without telling really me why.

@hendursaga hendursaga changed the title Add meson build option for disable installing systemd service Add meson build option for disabling installing systemd service Dec 6, 2021
@eli-schwartz
Copy link

Seems like the project should probably just install to join_paths(get_option('prefix'), 'lib/systemd/user') instead. Hardcoding /etc is sub-optimal (systemd prefers /usr/lib/ but if you ever do need /etc/ you should still use get_option('sysconfdir')).

@hendursaga
Copy link
Author

@eli-schwartz sounds like an improvement. At the very least I'd like to see a more helpful permissions request..

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