Merge pull request #8188 from ceph/wip-systemd-restart-defaults

systemd: Use the same restart limits as upstart

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
Sage Weil 2016-04-13 16:50:46 -04:00
commit 9bb4766f15
4 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,9 @@ ProtectHome=true
ProtectSystem=full
PrivateTmp=true
TasksMax=infinity
Restart=on-failure
StartLimitInterval=30min
StartLimitBurst=3
[Install]
WantedBy=ceph-mds.target

View File

@ -22,6 +22,9 @@ ProtectHome=true
ProtectSystem=full
PrivateTmp=true
TasksMax=infinity
Restart=on-failure
StartLimitInterval=30min
StartLimitBurst=3
[Install]
WantedBy=ceph-mon.target

View File

@ -16,6 +16,9 @@ ProtectHome=true
ProtectSystem=full
PrivateTmp=true
TasksMax=infinity
Restart=on-failure
StartLimitInterval=30min
StartLimitBurst=3
[Install]
WantedBy=ceph-osd.target

View File

@ -15,6 +15,9 @@ ProtectHome=true
ProtectSystem=full
PrivateTmp=true
TasksMax=infinity
Restart=on-failure
StartLimitInterval=30s
StartLimitBurst=5
[Install]
WantedBy=ceph-radosgw.target