diff --git a/src/core/service.c b/src/core/service.c index 3eab749..8342c13 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2133,7 +2133,7 @@ static void service_enter_restart(Service *s) { * restarted. We use JOB_RESTART (instead of the more obvious * JOB_START) here so that those dependency jobs will be added * as well. */ - r = manager_add_job(UNIT(s)->manager, JOB_RESTART, UNIT(s), JOB_FAIL, &error, NULL); + r = manager_add_job(UNIT(s)->manager, JOB_RESTART, UNIT(s), JOB_REPLACE, &error, NULL); if (r < 0) goto fail;