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:
Kyle M Hall 2026-05-12 13:05:47 -04:00 committed by Pedro Amorim
parent a84dbc3d29
commit 88926c5032
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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