chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: flush the start counter in "systemctl reset-failed"
[elogind.git]
/
src
/
core
/
service.c
diff --git
a/src/core/service.c
b/src/core/service.c
index d82803db2b634cc4b82322d3e925c27f3c321ed1..0c29d4aefa2729e66f0f85fe3e0b0fb6d76a848c 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-3655,6
+3655,8
@@
static void service_reset_failed(Unit *u) {
s->result = SERVICE_SUCCESS;
s->reload_result = SERVICE_SUCCESS;
+
+ RATELIMIT_RESET(s->start_limit);
}
static int service_kill(Unit *u, KillWho who, KillMode mode, int signo, DBusError *error) {