diff --git a/src/core/unit.c b/src/core/unit.c index 7d52c41bd..46e73e15c 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2728,7 +2728,7 @@ int unit_add_node_link(Unit *u, const char *what, bool wants) { if (r < 0) return r; - r = unit_add_two_dependencies(u, UNIT_AFTER, UNIT_BINDS_TO, device, true); + r = unit_add_two_dependencies(u, UNIT_AFTER, u->manager->running_as == SYSTEMD_SYSTEM ? UNIT_BINDS_TO : UNIT_WANTS, device, true); if (r < 0) return r;