summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-05-06 21:03:16 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-05-06 21:03:16 +0000
commit1745fa70e79e16954e8c0eb4c9c9b80eb9d5bfc0 (patch)
treea13ff0c556b0737c2a1ba0b371cae26aa0d819ee
parent5d105c4a4ff94a61c38854d1388461b587cb55f3 (diff)
core: dump TriggerLimitIntervalSec and TriggerLimitBurst too
-rw-r--r--src/core/socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 016df40b8c..d4b409ef53 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -690,6 +690,12 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
fprintf(f, "%sListenFIFO: %s\n", prefix, p->path);
}
+ fprintf(f,
+ "%sTriggerLimitIntervalSec: %s\n"
+ "%sTriggerLimitBurst: %u\n",
+ prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->trigger_limit.interval, USEC_PER_SEC),
+ prefix, s->trigger_limit.burst);
+
exec_context_dump(&s->exec_context, f, prefix);
kill_context_dump(&s->kill_context, f, prefix);