diff --git a/src/socket.c b/src/socket.c index fc6088c..7110a1c 100644 --- a/src/socket.c +++ b/src/socket.c @@ -302,7 +302,7 @@ static int socket_add_default_dependencies(Socket *s) { assert(s); if (s->meta.manager->running_as == MANAGER_SYSTEM) - if ((r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_SYSINIT_TARGET, NULL, true)) < 0) + if ((r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_AFTER, UNIT_REQUIRES, SPECIAL_LOCAL_FS_TARGET, NULL, true)) < 0) return r; return unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTED_BY, SPECIAL_SHUTDOWN_TARGET, NULL, true);