mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
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:
commit
9bb4766f15
@ -16,6 +16,9 @@ ProtectHome=true
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
TasksMax=infinity
|
||||
Restart=on-failure
|
||||
StartLimitInterval=30min
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=ceph-mds.target
|
||||
|
@ -22,6 +22,9 @@ ProtectHome=true
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
TasksMax=infinity
|
||||
Restart=on-failure
|
||||
StartLimitInterval=30min
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=ceph-mon.target
|
||||
|
@ -16,6 +16,9 @@ ProtectHome=true
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
TasksMax=infinity
|
||||
Restart=on-failure
|
||||
StartLimitInterval=30min
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=ceph-osd.target
|
||||
|
@ -15,6 +15,9 @@ ProtectHome=true
|
||||
ProtectSystem=full
|
||||
PrivateTmp=true
|
||||
TasksMax=infinity
|
||||
Restart=on-failure
|
||||
StartLimitInterval=30s
|
||||
StartLimitBurst=5
|
||||
|
||||
[Install]
|
||||
WantedBy=ceph-radosgw.target
|
||||
|
Loading…
Reference in New Issue
Block a user