summaryrefslogtreecommitdiffstats
path: root/systemd/ceph-crash.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/ceph-crash.service.in')
-rw-r--r--systemd/ceph-crash.service.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/ceph-crash.service.in b/systemd/ceph-crash.service.in
new file mode 100644
index 000000000..8304dd612
--- /dev/null
+++ b/systemd/ceph-crash.service.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=Ceph crash dump collector
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/ceph-crash
+Restart=always
+RestartSec=10
+StartLimitInterval=10min
+StartLimitBurst=10
+
+[Install]
+WantedBy=ceph.target