Bug 40901: (follow-up) Tighten RestartSec on SIP, Z3950, es-indexer
30 seconds between restart attempts is a very long time especially for AIP. With StartLimitIntervalSec at 60, and RestartSec at 5 we get 6 retries and what is hopefully a less visible downtime window for the tcp services. For es-indexer it's not so big a deal but could be an issue for cataloguers. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
a84dbc3d29
commit
88926c5032
|
|
@ -18,7 +18,7 @@ ExecStartPre=+/usr/sbin/koha-generate-env es-indexer %i
|
|||
EnvironmentFile=-/run/koha/%i/es-indexer.env
|
||||
ExecStart=/usr/share/koha/bin/workers/es_indexer_daemon.pl --batch_size ${ES_BATCH_SIZE}
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=koha@%i.target
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Environment=KOHA_HOME=/usr/share/koha
|
|||
Environment=PERL5LIB=/usr/share/koha/lib
|
||||
ExecStart=/usr/bin/perl /usr/share/koha/lib/C4/SIP/SIPServer.pm /etc/koha/sites/%i/SIPconfig.xml
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=koha@%i.target
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ ExecStart=/usr/share/koha/bin/z3950_responder.pl \
|
|||
-d %i-koha-z3950 \
|
||||
-l /var/log/koha/%i/z3950.log
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=koha@%i.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue