diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-07 03:20:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-07 03:20:19 +0200 |
commit | 4a21885b43c3632db95d6d1d9ba327ccff705b7b (patch) | |
tree | 67350fc0753e40de0d3245303cb2e4c2e84b4b61 /service.c | |
parent | 6c1a047834c524598ee87c2bc289a1cd472ba53e (diff) |
sysv: sysv service should depend on the full basic system, not only rc.sysinit
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -565,8 +565,8 @@ static int service_load_sysv_path(Service *s, const char *path, UnitLoadState *n if ((r = sysv_exec_commands(s)) < 0) goto finish; - if ((r = unit_add_dependency_by_name(u, UNIT_REQUIRES, SPECIAL_SYSINIT_SERVICE)) < 0 || - (r = unit_add_dependency_by_name(u, UNIT_AFTER, SPECIAL_SYSINIT_SERVICE)) < 0) + if ((r = unit_add_dependency_by_name(u, UNIT_REQUIRES, SPECIAL_BASIC_SERVICE)) < 0 || + (r = unit_add_dependency_by_name(u, UNIT_AFTER, SPECIAL_BASIC_SERVICE)) < 0) goto finish; *new_state = UNIT_LOADED; |