aboutsummaryrefslogtreecommitdiffstats
path: root/extras/rpm/vpp.service
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-07-04 11:25:59 +0200
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-12 01:51:59 +0000
commit6d72c175edbb7654a643a86411f6f95aae16d10d (patch)
treee409af87cec7cf1116691d5018703c6bdd223ce0 /extras/rpm/vpp.service
parentbbe6d110a10d64e5bde21c4b839642acfbf91cbd (diff)
docs: how to enable coredump with systemd
Type: docs Change-Id: I1f657389fec716cc6cdc942803e65f861ffea5f5 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'extras/rpm/vpp.service')
-rw-r--r--extras/rpm/vpp.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/rpm/vpp.service b/extras/rpm/vpp.service
index 40bf9d48c3b..2cf9f9194ac 100644
--- a/extras/rpm/vpp.service
+++ b/extras/rpm/vpp.service
@@ -9,6 +9,11 @@ ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Type=simple
Restart=on-failure
RestartSec=5s
+# Uncomment the following line to enable VPP coredumps on crash
+# You still need to configure the rest of the system to collect them, see
+# https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html#core-files
+# for details
+#LimitCORE=infinity
[Install]
WantedBy=multi-user.target