1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

service: actually delay auto-restart if another job is pending

https://bugs.freedesktop.org/show_bug.cgi?id=45511
This commit is contained in:
David Ward 2012-04-29 09:35:40 -04:00 committed by Lennart Poettering
parent 30edf11616
commit feae8adb84

View File

@ -2232,6 +2232,8 @@ static void service_enter_restart(Service *s) {
if ((r = unit_watch_timer(UNIT(s), s->restart_usec, &s->timer_watch)) < 0)
goto fail;
return;
}
/* Any units that are bound to this service must also be