diff options
Diffstat (limited to 'bus')
-rw-r--r-- | bus/meson.build | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bus/meson.build b/bus/meson.build index 7d09e738..06e293b8 100644 --- a/bus/meson.build +++ b/bus/meson.build @@ -183,3 +183,28 @@ if platform_unix and use_traditional_activation install_dir: get_option('libexecdir'), ) endif + +if use_systemd + install_symlinks += [ + { + 'link_name': 'dbus.service', + 'install_dir': systemd_system_unitdir / 'multi-user.target.wants', + 'pointing_to': '../dbus.service', + }, + { + 'link_name': 'dbus.socket', + 'install_dir': systemd_system_unitdir / 'sockets.target.wants', + 'pointing_to': '../dbus.socket', + }, + ] +endif + +if use_systemd and get_option('user_session') + install_symlinks += [ + { + 'link_name': 'dbus.socket', + 'install_dir': systemd_user_unitdir / 'sockets.target.wants', + 'pointing_to': '../dbus.socket', + }, + ] +endif |