summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2020-06-19 11:27:38 +0530
committerAnoop C S <anoopcs@cryptolab.net>2020-06-19 07:06:38 +0000
commitd55218781876005323d8c146ed4bd73e2146866a (patch)
tree2a0ecf41c7579b1a366efae36ee2d3a0c9c85fa4 /xlators/mgmt/glusterd/src/glusterd-utils.h
parent2ef75183ab3faa68b79d3d38318d4120cfc657d1 (diff)
extras/systemd: Move StartLimitIntervalSec to [Unit] section
It has been a while since systemd moved[1] StartLimitInterval= and StartLimitBurst= options(along with some others) from [Service] to [Unit] section. Additionally StartLimitInterval= got renamed[2] to StartLimitIntervalSec= and can be configured only in [Service] section. Therefore making necessary modifications to avoid following warning: $ sudo systemd-analyze verify glusterd.service /usr/local/lib/systemd/system/glusterd.service:21: Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring. For backward compatability reasons those options configured in [Service] section are also honoured but officially documented in man systemd.unit(5)[3]. [1] https://github.com/systemd/systemd/commit/6bf0f408e4833152197fb38fb10a9989c89f3a59 [2] https://github.com/systemd/systemd/commit/f0367da7d1a61ad698a55d17b5c28ddce0dc265a [3] https://www.freedesktop.org/software/systemd/man/systemd.unit.html Change-Id: I72a5b65930ddcf1d84c7e66f11685fa9a6fbda9a Updates: #1000 Signed-off-by: Anoop C S <anoopcs@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
0 files changed, 0 insertions, 0 deletions