]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
systemd: Use the same restart limits as upstart 8188/head
authorBoris Ranto <branto@redhat.com>
Thu, 17 Mar 2016 17:54:47 +0000 (18:54 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 13 Apr 2016 19:26:31 +0000 (21:26 +0200)
commit62084375fa8370ca3884327b4a4ad28e0281747e
tree97d9d1f7820f79ae152a6b29ad18eaeb3badc32d
parent4943a55528db66cc909c0154edace4342e7090ec
systemd: Use the same restart limits as upstart

Currently, the systemd daemons are not restarted on failure. This patch
adds this functionality and sets the defaults to those defined in
upstart. This resolves to 3 fails per 30 minutes for osd, mon and mds
and 5 fails per 30 seconds for radosgw.

Signed-off-by: Boris Ranto <branto@redhat.com>
systemd/ceph-mds@.service
systemd/ceph-mon@.service
systemd/ceph-osd@.service
systemd/ceph-radosgw@.service