Skip to content

sharing: fix building without systemd

0bfc6081 introduced a bunch of systemd-specific stuff that broke building without systemd. Guard all of the relevant things.

Another thing to consider would be generalizing logind and adding elogind support like what !348 does.

Merge request reports