1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

meson: install the dbus aliases for resolve1 and network1 in /etc

This way when the units are disabled, their dbus activation is also disabled.

v2:
- fix the symlink location
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-04-19 10:32:42 -04:00
parent 3e609a8ad3
commit 08936cea45

View File

@ -216,10 +216,10 @@ m4_in_units = [
['console-getty.service', ''],
['container-getty@.service', ''],
['systemd-networkd.service', 'ENABLE_NETWORKD',
'dbus-org.freedesktop.network1.service ' +
join_paths(pkgsysconfdir, 'system/dbus-org.freedesktop.network1.service') + ' ' +
join_paths(pkgsysconfdir, 'system/multi-user.target.wants/')],
['systemd-resolved.service', 'ENABLE_RESOLVED',
'dbus-org.freedesktop.resolve1.service ' +
join_paths(pkgsysconfdir, 'system/dbus-org.freedesktop.resolve1.service') + ' ' +
join_paths(pkgsysconfdir, 'system/multi-user.target.wants/')],
['user@.service', ''],
]